From 6d2d53b43fbfd9debfbd1d103ff96cbb2fe16a34 Mon Sep 17 00:00:00 2001 From: Charles Lehner Date: Sun, 11 Jan 2015 13:58:03 -0500 Subject: [PATCH] Move root_name to parent class --- lib/wallet.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/wallet.py b/lib/wallet.py index 043bb9e2..b37b92a3 100644 --- a/lib/wallet.py +++ b/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'