fix xtype of ypub keys in plugins and bip39 seeds
This commit is contained in:
@@ -576,7 +576,7 @@ def bip39_is_checksum_valid(mnemonic):
|
||||
def from_bip39_seed(seed, passphrase, derivation):
|
||||
k = BIP32_KeyStore({})
|
||||
bip32_seed = bip39_to_seed(seed, passphrase)
|
||||
t = 'segwit_p2sh' if derivation.startswith("m/49'") else 'standard' # bip43
|
||||
t = 'p2wpkh-p2sh' if derivation.startswith("m/49'") else 'standard' # bip43
|
||||
k.add_xprv_from_seed(bip32_seed, t, derivation)
|
||||
return k
|
||||
|
||||
|
||||
Reference in New Issue
Block a user