1
0

Revert "Fix MultiSig wallet creation."

This reverts commit 21038843ea.
This commit is contained in:
ThomasV
2016-01-06 09:55:49 +01:00
parent 0117109a2d
commit 90a2fc1379
2 changed files with 7 additions and 4 deletions

View File

@@ -1817,6 +1817,11 @@ class Multisig_Wallet(BIP32_Wallet, Mnemonic):
def get_master_public_keys(self):
return self.master_public_keys
def get_action(self):
for i in range(self.n):
if self.master_public_keys.get("x%d/"%(i+1)) is None:
return 'create_seed' if i == 0 else 'add_cosigners'
class OldWallet(Deterministic_Wallet):
wallet_type = 'old'