@@ -172,7 +172,7 @@ def sanitize_stack_item(self, _stack_item) -> dict:
172172 "wallet_type" , "keystore_type" , "seed_variant" , "seed_type" , "seed_extend" ,
173173 "script_type" , "derivation_path" , "encrypt" ,
174174 # hardware devices:
175- "hardware_device" , "hw_type" , "label" , "soft_device_id" ,
175+ "hardware_device" , "hw_type" , "label" , "soft_device_id" , "xpub_encrypt" ,
176176 # inside keystore:
177177 "type" , "pw_hash_version" , "derivation" , "root_fingerprint" ,
178178 # multisig:
@@ -285,8 +285,8 @@ def wallet_password_view(self, wizard_data: dict) -> str:
285285 def on_hardware_device (self , wizard_data : dict , new_wallet = True ) -> str :
286286 current_cosigner = self .current_cosigner (wizard_data )
287287 _type , _info = current_cosigner ['hardware_device' ]
288- run_hook ('init_wallet_wizard' , self ) # TODO: currently only used for hww, hook name might be confusing
289288 plugin = self .plugins .get_plugin (_type )
289+ run_hook ('init_wallet_wizard' , self ) # TODO: currently only used for hww, hook name might be confusing
290290 return plugin .wizard_entry_for_device (_info , new_wallet = new_wallet )
291291
292292 def validate_seed (self , seed : str , seed_variant : str , wallet_type : str ) -> Tuple [bool , str , str , bool ]:
0 commit comments