1
0

wizard: take hardware_device from correct location for cosigners. fixes #8808

This commit is contained in:
Sander van Grieken
2024-01-16 11:45:20 +01:00
parent 2b3d7096c6
commit 82c21bc30d
2 changed files with 6 additions and 1 deletions

View File

@@ -322,7 +322,8 @@ class NewWalletWizard(AbstractWizard):
return 'wallet_password'
def on_hardware_device(self, wizard_data: dict, new_wallet=True) -> str:
_type, _info = wizard_data['hardware_device']
current_cosigner = self.current_cosigner(wizard_data)
_type, _info = current_cosigner['hardware_device']
run_hook('init_wallet_wizard', self) # TODO: currently only used for hww, hook name might be confusing
plugin = self.plugins.get_plugin(_type)
return plugin.wizard_entry_for_device(_info, new_wallet=new_wallet)