ligo/test/scripts/fail.tez

9 lines
256 B
Plaintext
Raw Normal View History

2017-01-11 16:15:38 +01:00
parameter unit
2016-09-08 19:13:10 +02: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 16:15:38 +01:00
CDR ; UNIT ; PAIR }
return unit
storage unit