1
0

p2sh wallets cannot create accounts

This commit is contained in:
ThomasV
2014-05-05 12:03:01 +02:00
parent ac93b86ebc
commit fa4c2b96d7
2 changed files with 5 additions and 1 deletions

View File

@@ -1450,6 +1450,9 @@ class Wallet_2of2(NewWallet):
NewWallet.__init__(self, storage)
self.storage.put('wallet_type', '2of2', True)
def can_create_accounts(self):
return False
def create_account(self):
xpub1 = self.master_public_keys.get("m/")
xpub2 = self.master_public_keys.get("cold/")