Browse Source

Reverted change to TrezorWallet.address_id()

283
Chris Rico 11 years ago
parent
commit
4f82fce81d
  1. 2
      plugins/trezor.py

2
plugins/trezor.py

@ -179,7 +179,7 @@ class TrezorWallet(NewWallet):
def address_id(self, address): def address_id(self, address):
account_id, (change, address_index) = self.get_address_index(address) account_id, (change, address_index) = self.get_address_index(address)
return "%s/%d/%d" % (account_id, change, address_index) return "44'/0'/%s'/%d/%d" % (account_id, change, address_index)
def create_main_account(self, password): def create_main_account(self, password):
self.create_account('Main account', None) #name, empty password self.create_account('Main account', None) #name, empty password

Loading…
Cancel
Save