Finish moving the multisig regex to one place
This commit is contained in:
parent
12f62212ba
commit
dbf154d5f2
|
@ -1770,9 +1770,7 @@ class Multisig_Wallet(BIP32_Wallet, Mnemonic):
|
||||||
def __init__(self, storage):
|
def __init__(self, storage):
|
||||||
BIP32_Wallet.__init__(self, storage)
|
BIP32_Wallet.__init__(self, storage)
|
||||||
self.wallet_type = storage.get('wallet_type')
|
self.wallet_type = storage.get('wallet_type')
|
||||||
m = re.match('(\d+)of(\d+)', self.wallet_type)
|
self.m, self.n = Wallet.multisig_type(self.wallet_type)
|
||||||
self.m = int(m.group(1))
|
|
||||||
self.n = int(m.group(2))
|
|
||||||
|
|
||||||
def load_accounts(self):
|
def load_accounts(self):
|
||||||
self.accounts = {}
|
self.accounts = {}
|
||||||
|
|
Loading…
Reference in New Issue