change position of CATCH to correct node and route to previous node
This commit is contained in:
parent
460e951584
commit
538a06887a
@ -1,12 +1,12 @@
|
||||
LOAD reset_transaction_amount 0
|
||||
RELOAD validate_recipient
|
||||
CATCH invalid_recipient 13 1
|
||||
LOAD max_amount 10
|
||||
MAP max_amount
|
||||
MOUT back 0
|
||||
HALT
|
||||
INCMP _ 0
|
||||
LOAD validate_amount 64
|
||||
RELOAD validate_amount
|
||||
CATCH invalid_amount 17 1
|
||||
INCMP _ 0
|
||||
LOAD get_recipient 12
|
||||
LOAD get_sender 64
|
||||
INCMP transaction_pin *
|
||||
|
@ -3,5 +3,5 @@ RELOAD reset_transaction_amount
|
||||
MOUT retry 1
|
||||
MOUT quit 9
|
||||
HALT
|
||||
INCMP amount 1
|
||||
INCMP _ 1
|
||||
INCMP quit 9
|
||||
|
@ -3,5 +3,5 @@ RELOAD transaction_reset
|
||||
MOUT retry 1
|
||||
MOUT quit 9
|
||||
HALT
|
||||
INCMP send 1
|
||||
INCMP _ 1
|
||||
INCMP quit 9
|
||||
|
@ -2,5 +2,7 @@ LOAD transaction_reset 0
|
||||
MOUT back 0
|
||||
HALT
|
||||
LOAD validate_recipient 20
|
||||
RELOAD validate_recipient
|
||||
CATCH invalid_recipient 13 1
|
||||
INCMP _ 0
|
||||
INCMP amount *
|
||||
|
@ -1,6 +1,4 @@
|
||||
RELOAD validate_amount
|
||||
MAP validate_amount
|
||||
CATCH invalid_amount 17 1
|
||||
RELOAD get_recipient
|
||||
MAP get_recipient
|
||||
RELOAD get_sender
|
||||
|
Loading…
Reference in New Issue
Block a user