ligo/test/scripts/fail.tez

9 lines
256 B
Plaintext
Raw Normal View History

2017-01-11 19:15:38 +04:00
parameter unit
2016-09-08 21:13:10 +04:00
code
{ # This contract will never accept a incoming transaction
FAIL ;
# Alas, FAIL is not (yet?) polymorphic, and we need to keep unused
# instructions for the sake of typing...
2017-01-11 19:15:38 +04:00
CDR ; UNIT ; PAIR }
return unit
storage unit