forked from LBRYCommunity/lbry-sdk
update wallet migration
This commit is contained in:
parent
cc6a91a477
commit
c21d8cc8dc
1 changed files with 5 additions and 5 deletions
|
@ -98,11 +98,11 @@ class LbryWalletManager(BaseWalletManager):
|
||||||
'private_key': json_dict['master_private_keys']['x/'],
|
'private_key': json_dict['master_private_keys']['x/'],
|
||||||
'public_key': json_dict['master_public_keys']['x/'],
|
'public_key': json_dict['master_public_keys']['x/'],
|
||||||
'certificates': json_dict.get('claim_certificates', {}),
|
'certificates': json_dict.get('claim_certificates', {}),
|
||||||
'receiving_gap': 20,
|
'address_generator': {
|
||||||
'change_gap': 6,
|
'name': 'deterministic-chain',
|
||||||
'receiving_maximum_uses_per_address': 2,
|
'receiving': {'gap': 20, 'maximum_uses_per_address': 2},
|
||||||
'change_maximum_uses_per_address': 2,
|
'change': {'gap': 6, 'maximum_uses_per_address': 2}
|
||||||
'is_hd': True
|
}
|
||||||
}]
|
}]
|
||||||
}, indent=4, sort_keys=True)
|
}, indent=4, sort_keys=True)
|
||||||
with open(wallet_file_path, 'w') as f:
|
with open(wallet_file_path, 'w') as f:
|
||||||
|
|
Loading…
Reference in a new issue