mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-08-31 09:21:39 +00:00
fix: storage.convert_version_14() was missing redeem_scripts
This commit is contained in:
parent
f381eae251
commit
2ad061eead
1 changed files with 5 additions and 1 deletions
|
@ -352,7 +352,11 @@ class WalletStorage(PrintError):
|
|||
for pubkey in pubkeys:
|
||||
addr = bitcoin.pubkey_to_address('p2pkh', pubkey)
|
||||
assert addr in addresses
|
||||
d[addr] = { 'pubkey':pubkey, 'type':'p2pkh'}
|
||||
d[addr] = {
|
||||
'pubkey': pubkey,
|
||||
'redeem_script': None,
|
||||
'type': 'p2pkh'
|
||||
}
|
||||
self.put('addresses', d)
|
||||
self.put('pubkeys', None)
|
||||
self.put('wallet_type', 'imported')
|
||||
|
|
Loading…
Add table
Reference in a new issue