Browse Source

wizard: p2sh multisig is 'standard' in backend wallet

master
Sander van Grieken 3 years ago
parent
commit
3b7fa89e44
  1. 5
      electrum/wizard.py

5
electrum/wizard.py

@ -365,7 +365,10 @@ class NewWalletWizard(AbstractWizard):
self._logger.debug('creating keystore from bip39 seed')
root_seed = keystore.bip39_to_seed(data['seed'], data['seed_extra_words'])
derivation = normalize_bip32_derivation(data['derivation_path'])
script = data['script_type'] if data['script_type'] != 'p2pkh' else 'standard'
if data['wallet_type'] == 'multisig':
script = data['script_type'] if data['script_type'] != 'p2sh' else 'standard'
else:
script = data['script_type'] if data['script_type'] != 'p2pkh' else 'standard'
k = keystore.from_bip43_rootseed(root_seed, derivation, xtype=script)
elif is_any_2fa_seed_type(data['seed_type']):
self._logger.debug('creating keystore from 2fa seed')

Loading…
Cancel
Save