ligo/src/test/contracts/expected/check_signature.religo

7 lines
152 B
Plaintext
Raw Normal View History

2020-06-03 12:41:26 +02:00
let check_signature =
(param: (key, signature, bytes)): bool =>
{
let (pk, signed, msg) = param;
Crypto.check(pk signed msg)
};