Browse Source

Merge pull request #976 from clehner/fix/root_name

Move root_name to parent class
283
ThomasV 10 years ago
parent
commit
b5401d2b5e
  1. 3
      lib/wallet.py

3
lib/wallet.py

@ -1266,6 +1266,7 @@ class Deterministic_Wallet(Abstract_Wallet):
class BIP32_Wallet(Deterministic_Wallet):
# abstract class, bip32 logic
root_name = 'x/'
gap_limit = 20
def __init__(self, storage):
@ -1342,7 +1343,6 @@ class BIP32_Wallet(Deterministic_Wallet):
class BIP32_Simple_Wallet(BIP32_Wallet):
# Wallet with a single BIP32 account, no seed
# gap limit 20
root_name = 'x/'
wallet_type = 'xpub'
def create_xprv_wallet(self, xprv, password):
@ -1470,7 +1470,6 @@ class BIP32_HD_Wallet(BIP32_Wallet):
class NewWallet(BIP32_Wallet, Mnemonic):
# Standard wallet
root_name = 'x/'
root_derivation = "m/"
wallet_type = 'standard'

Loading…
Cancel
Save