Resolve bug on transaction confirmation PIN
This commit is contained in:
parent
0c360c0cc4
commit
ab6433168a
@ -837,9 +837,10 @@ func (h *Handlers) InitiateTransaction(ctx context.Context, sym string, input []
|
|||||||
account_authorized_flag, err := h.parser.GetFlag("flag_account_authorized")
|
account_authorized_flag, err := h.parser.GetFlag("flag_account_authorized")
|
||||||
|
|
||||||
if err != nil {
|
if err != nil {
|
||||||
res.FlagReset = append(res.FlagReset, account_authorized_flag)
|
return res, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
res.FlagReset = append(res.FlagReset, account_authorized_flag)
|
||||||
return res, nil
|
return res, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1,4 +1,6 @@
|
|||||||
LOAD reset_incorrect 0
|
LOAD reset_incorrect 6
|
||||||
|
CATCH incorrect_pin flag_incorrect_pin 1
|
||||||
|
CATCH _ flag_account_authorized 0
|
||||||
LOAD get_amount 10
|
LOAD get_amount 10
|
||||||
MAP get_amount
|
MAP get_amount
|
||||||
RELOAD get_recipient
|
RELOAD get_recipient
|
||||||
|
@ -6,7 +6,7 @@ MAP get_sender
|
|||||||
MOUT back 0
|
MOUT back 0
|
||||||
MOUT quit 9
|
MOUT quit 9
|
||||||
HALT
|
HALT
|
||||||
LOAD authorize_account 1
|
LOAD authorize_account 6
|
||||||
RELOAD authorize_account
|
RELOAD authorize_account
|
||||||
CATCH incorrect_pin flag_incorrect_pin 1
|
CATCH incorrect_pin flag_incorrect_pin 1
|
||||||
INCMP _ 0
|
INCMP _ 0
|
||||||
|
Loading…
Reference in New Issue
Block a user