Compare commits

..

3 Commits

4 changed files with 13 additions and 9 deletions

View File

@ -130,6 +130,8 @@ func (ls *LocalHandlerService) GetHandler(accountService remote.AccountService)
ls.DbRs.AddLocalFunc("confirm_new_alias", appHandlers.ConfirmNewAlias) ls.DbRs.AddLocalFunc("confirm_new_alias", appHandlers.ConfirmNewAlias)
ls.DbRs.AddLocalFunc("check_account_created", appHandlers.CheckAccountCreated) ls.DbRs.AddLocalFunc("check_account_created", appHandlers.CheckAccountCreated)
ls.DbRs.AddLocalFunc("reset_api_call_failure", appHandlers.ResetApiCallFailure) ls.DbRs.AddLocalFunc("reset_api_call_failure", appHandlers.ResetApiCallFailure)
ls.DbRs.AddLocalFunc("save_alias_hint", appHandlers.SaveAliasHint)
ls.first = appHandlers.Init ls.first = appHandlers.Init

View File

@ -0,0 +1,4 @@
CATCH incorrect_pin flag_incorrect_pin 1
CATCH pin_entry flag_allow_update 0
LOAD request_custom_alias 0
MOVE confirm_new_alias

View File

@ -1,2 +1,2 @@
Your full alias will be: {{.get_suggested_alias}} Your full alias will be: {{.get_suggested_alias}}
Please enter your PIN to confirm: Please choose `Ok` to accept or `Cancel` to stop:

View File

@ -1,12 +1,10 @@
LOAD reset_invalid_pin 6
RELOAD reset_invalid_pin
LOAD get_suggested_alias 0 LOAD get_suggested_alias 0
RELOAD get_suggested_alias RELOAD get_suggested_alias
MAP get_suggested_alias MAP get_suggested_alias
MOUT back 0 MOUT ok 1
MOUT cancel 2
MOUT quit 9
HALT HALT
INCMP _ 0 INCMP update_alias 1
RELOAD authorize_account INCMP ^ 2
CATCH incorrect_pin flag_incorrect_pin 1 INCMP quit 9
CATCH invalid_pin flag_invalid_pin 1
CATCH update_alias flag_allow_update 1