mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-09-01 17:55:20 +00:00
Merge pull request #3024 from SomberNight/fix_convert_v14_redeem
fix: storage.convert_version_14() is missing redeem_scripts
This commit is contained in:
commit
6a876775c4
1 changed files with 5 additions and 1 deletions
|
@ -352,7 +352,11 @@ class WalletStorage(PrintError):
|
||||||
for pubkey in pubkeys:
|
for pubkey in pubkeys:
|
||||||
addr = bitcoin.pubkey_to_address('p2pkh', pubkey)
|
addr = bitcoin.pubkey_to_address('p2pkh', pubkey)
|
||||||
assert addr in addresses
|
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('addresses', d)
|
||||||
self.put('pubkeys', None)
|
self.put('pubkeys', None)
|
||||||
self.put('wallet_type', 'imported')
|
self.put('wallet_type', 'imported')
|
||||||
|
|
Loading…
Add table
Reference in a new issue