This commit is contained in:
James 2019-02-28 22:26:31 +01:00
parent 27b1373595
commit 65c6925e17
3 changed files with 3 additions and 3 deletions

View File

@ -707,7 +707,7 @@ is_bip32_key = lambda x: is_xprv(x) or is_xpub(x)
def bip44_derivation(account_id, bip43_purpose=44):
coin = 1 if constants.net.TESTNET else 133
coin = 1 if constants.net.TESTNET else 147
return "m/%d'/%d'/%d'" % (bip43_purpose, coin, int(account_id))
def from_seed(seed, passphrase, is_p2sh):

View File

@ -696,7 +696,7 @@ class DigitalBitboxPlugin(HW_PluginBase):
client.handler = self.create_handler(wizard)
if purpose == HWD_SETUP_NEW_WALLET:
client.setupRunning = True
client.get_xpub("m/44'/133'", 'standard')
client.get_xpub("m/44'/147'", 'standard')
def is_mobile_paired(self):

View File

@ -518,7 +518,7 @@ class LedgerPlugin(HW_PluginBase):
device_id = device_info.device.id_
client = devmgr.client_by_id(device_id)
client.handler = self.create_handler(wizard)
client.get_xpub("m/44'/133'", 'standard') # TODO replace by direct derivation once Nano S > 1.1
client.get_xpub("m/44'/147'", 'standard') # TODO replace by direct derivation once Nano S > 1.1
def get_xpub(self, device_id, derivation, xtype, wizard):
devmgr = self.device_manager()