mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-08-27 15:31:31 +00:00
parent
4ea9518aef
commit
317e6cea32
1 changed files with 1 additions and 1 deletions
|
@ -1566,13 +1566,13 @@ class Deterministic_Wallet(Abstract_Wallet):
|
||||||
|
|
||||||
class BIP32_Wallet(Deterministic_Wallet):
|
class BIP32_Wallet(Deterministic_Wallet):
|
||||||
# abstract class, bip32 logic
|
# abstract class, bip32 logic
|
||||||
|
root_name = 'x/'
|
||||||
|
|
||||||
def __init__(self, storage):
|
def __init__(self, storage):
|
||||||
Deterministic_Wallet.__init__(self, storage)
|
Deterministic_Wallet.__init__(self, storage)
|
||||||
self.master_public_keys = storage.get('master_public_keys', {})
|
self.master_public_keys = storage.get('master_public_keys', {})
|
||||||
self.master_private_keys = storage.get('master_private_keys', {})
|
self.master_private_keys = storage.get('master_private_keys', {})
|
||||||
self.gap_limit = storage.get('gap_limit', 20)
|
self.gap_limit = storage.get('gap_limit', 20)
|
||||||
self.root_name = 'x/'
|
|
||||||
|
|
||||||
def is_watching_only(self):
|
def is_watching_only(self):
|
||||||
return not bool(self.master_private_keys)
|
return not bool(self.master_private_keys)
|
||||||
|
|
Loading…
Add table
Reference in a new issue