public static (bool ok, KzPubKey key) FromRecoverCompact(KzUInt256 hash, ReadOnlySpan<byte> sig) { var key = new KzPubKey(); var ok = key.RecoverCompact(hash, sig); if (!ok) key = null; return (ok, key); }
public static (bool ok, KzPubKey key) FromRecoverCompact(KzUInt256 hash, ReadOnlySpan<byte> sig) { var key = new KzPubKey(); var ok = key.RecoverCompact(hash, sig); if (!ok) key = null; return (ok, key); }