Browse Source

Renamed multisig_import function

PASS1-136
coreylakey 3 years ago
parent
commit
1758265e24
  1. 8
      ports/stm32/boards/Passport/modules/new_wallet.py

8
ports/stm32/boards/Passport/modules/new_wallet.py

@ -391,7 +391,7 @@ class NewWalletUX(UXStateMachine):
elif method == 'show_addresses':
self.goto(self.SHOW_RX_ADDRESSES_VERIFICATION_INTRO, save_curr=save_curr)
def choose_multisig_option(self):
def choose_multisig_import_mode(self):
if 'mulitsig_import_mode' in self.export_mode:
if self.export_mode['mulitsig_import_mode'] == EXPORT_MODE_QR:
self.goto(self.IMPORT_MULTISIG_CONFIG_FROM_QR, save_curr=False)
@ -552,7 +552,7 @@ class NewWalletUX(UXStateMachine):
# If multisig, we need to import the quorum/config info first, else go right to validating the first
# receive address from the wallet.
if self.is_multisig():
self.choose_multisig_option()
self.choose_multisig_import_mode()
else:
self.goto_address_verification_method(save_curr=False)
@ -609,7 +609,7 @@ class NewWalletUX(UXStateMachine):
# If multisig, we need to import the quorum/config info first, else go right to validating the first
# receive address from the wallet.
if self.is_multisig():
self.choose_multisig_option()
self.choose_multisig_import_mode()
else:
self.goto_address_verification_method(save_curr=False)
@ -841,7 +841,7 @@ Compare them with the addresses shown on the next screen to make sure they match
if self.is_multisig():
if not self.multisig_wallet:
# Need to import the multisig wallet
self.choose_multisig_option()
self.choose_multisig_import_mode()
continue
if not self.verified:

Loading…
Cancel
Save