ligo/test/contracts/check_signature.tz

6 lines
161 B
Plaintext
Raw Normal View History

2017-07-24 17:06:56 +04:00
parameter key;
storage (pair signature string);
return bool;
code {DUP; DUP; DIP{CDR; DUP; CAR; DIP{CDR; H}; PAIR};
CAR; CHECK_SIGNATURE; DIP{CDR}; PAIR};