1
0

update restore multisig to add type

This commit is contained in:
Michael Wozniak
2015-06-27 16:12:15 -04:00
parent 765ef338ec
commit 523aa7c380
2 changed files with 3 additions and 2 deletions

View File

@@ -1999,7 +1999,8 @@ class Wallet(object):
return w
@classmethod
def from_multisig(klass, key_list, password, storage):
def from_multisig(klass, key_list, password, storage, wallet_type):
storage.put('wallet_type', wallet_type, True)
self = Multisig_Wallet(storage)
key_list = sorted(key_list, key = lambda x: klass.is_xpub(x))
for i, text in enumerate(key_list):