match the reset_incorrect_pin symbol to the function name

This commit is contained in:
Alfred Kamanda 2025-05-22 12:13:50 +03:00
parent fd43060021
commit 0495472530
Signed by: Alfred-mk
GPG Key ID: 7EA3D01708908703
14 changed files with 17 additions and 17 deletions

View File

@ -15,7 +15,7 @@ import (
const ( const (
changeHeadSrc = `LOAD reset_account_authorized 0 changeHeadSrc = `LOAD reset_account_authorized 0
LOAD reset_incorrect 0 LOAD reset_incorrect_pin 0
CATCH incorrect_pin flag_incorrect_pin 1 CATCH incorrect_pin flag_incorrect_pin 1
CATCH pin_entry flag_account_authorized 0 CATCH pin_entry flag_account_authorized 0
` `

View File

@ -91,7 +91,7 @@ func (ls *LocalHandlerService) GetHandler(accountService remote.AccountService)
ls.DbRs.AddLocalFunc("get_recipient", appHandlers.GetRecipient) ls.DbRs.AddLocalFunc("get_recipient", appHandlers.GetRecipient)
ls.DbRs.AddLocalFunc("get_sender", appHandlers.GetSender) ls.DbRs.AddLocalFunc("get_sender", appHandlers.GetSender)
ls.DbRs.AddLocalFunc("get_amount", appHandlers.GetAmount) ls.DbRs.AddLocalFunc("get_amount", appHandlers.GetAmount)
ls.DbRs.AddLocalFunc("reset_incorrect", appHandlers.ResetIncorrectPin) ls.DbRs.AddLocalFunc("reset_incorrect_pin", appHandlers.ResetIncorrectPin)
ls.DbRs.AddLocalFunc("save_firstname", appHandlers.SaveFirstname) ls.DbRs.AddLocalFunc("save_firstname", appHandlers.SaveFirstname)
ls.DbRs.AddLocalFunc("save_familyname", appHandlers.SaveFamilyname) ls.DbRs.AddLocalFunc("save_familyname", appHandlers.SaveFamilyname)
ls.DbRs.AddLocalFunc("save_gender", appHandlers.SaveGender) ls.DbRs.AddLocalFunc("save_gender", appHandlers.SaveGender)

View File

@ -1,5 +1,5 @@
LOAD reset_account_authorized 0 LOAD reset_account_authorized 0
LOAD reset_incorrect 0 LOAD reset_incorrect_pin 0
CATCH incorrect_pin flag_incorrect_pin 1 CATCH incorrect_pin flag_incorrect_pin 1
CATCH pin_entry flag_account_authorized 0 CATCH pin_entry flag_account_authorized 0
MOUT english 1 MOUT english 1

View File

@ -1,4 +1,4 @@
LOAD reset_incorrect 6 LOAD reset_incorrect_pin 6
LOAD fetch_community_balance 0 LOAD fetch_community_balance 0
CATCH api_failure flag_api_call_error 1 CATCH api_failure flag_api_call_error 1
MAP fetch_community_balance MAP fetch_community_balance

View File

@ -1 +1 @@
Incorrect PIN. You have: {{.reset_incorrect}} remaining attempt(s). Incorrect PIN. You have: {{.reset_incorrect_pin}} remaining attempt(s).

View File

@ -1,6 +1,6 @@
LOAD reset_incorrect 0 LOAD reset_incorrect_pin 0
RELOAD reset_incorrect RELOAD reset_incorrect_pin
MAP reset_incorrect MAP reset_incorrect_pin
CATCH blocked_account flag_account_blocked 1 CATCH blocked_account flag_account_blocked 1
MOUT retry 1 MOUT retry 1
MOUT quit 9 MOUT quit 9

View File

@ -1 +1 @@
PIN ulioeka sio sahihi, una majaribio: {{.reset_incorrect}} yaliyobaki PIN ulioeka sio sahihi, una majaribio: {{.reset_incorrect_pin}} yaliyobaki

View File

@ -1,4 +1,4 @@
LOAD reset_incorrect 6 LOAD reset_incorrect_pin 6
LOAD check_balance 0 LOAD check_balance 0
CATCH api_failure flag_api_call_error 1 CATCH api_failure flag_api_call_error 1
MAP check_balance MAP check_balance

View File

@ -1,4 +1,4 @@
RELOAD reset_incorrect RELOAD reset_incorrect_pin
MOUT back 0 MOUT back 0
HALT HALT
INCMP _ 0 INCMP _ 0

View File

@ -2,7 +2,7 @@ LOAD set_back 6
LOAD authorize_account 16 LOAD authorize_account 16
LOAD reset_allow_update 4 LOAD reset_allow_update 4
LOAD save_temporary_pin 1 LOAD save_temporary_pin 1
LOAD reset_incorrect 0 LOAD reset_incorrect_pin 0
LOAD reset_invalid_pin 6 LOAD reset_invalid_pin 6
MOUT change_pin 1 MOUT change_pin 1
MOUT reset_pin 2 MOUT reset_pin 2

View File

@ -1,3 +1,3 @@
LOAD reset_incorrect 6 LOAD reset_incorrect_pin 6
LOAD initiate_swap 0 LOAD initiate_swap 0
HALT HALT

View File

@ -1,4 +1,4 @@
LOAD reset_incorrect 6 LOAD reset_incorrect_pin 6
CATCH incorrect_pin flag_incorrect_pin 1 CATCH incorrect_pin flag_incorrect_pin 1
CATCH _ flag_account_authorized 0 CATCH _ flag_account_authorized 0
RELOAD get_amount RELOAD get_amount

View File

@ -1,6 +1,6 @@
LOAD get_profile_info 0 LOAD get_profile_info 0
MAP get_profile_info MAP get_profile_info
LOAD reset_incorrect 6 LOAD reset_incorrect_pin 6
CATCH incorrect_pin flag_incorrect_pin 1 CATCH incorrect_pin flag_incorrect_pin 1
CATCH pin_entry flag_account_authorized 0 CATCH pin_entry flag_account_authorized 0
MOUT back 0 MOUT back 0

View File

@ -1,4 +1,4 @@
LOAD reset_incorrect 6 LOAD reset_incorrect_pin 6
CATCH incorrect_pin flag_incorrect_pin 1 CATCH incorrect_pin flag_incorrect_pin 1
CATCH _ flag_account_authorized 0 CATCH _ flag_account_authorized 0
LOAD set_voucher 12 LOAD set_voucher 12