Fix ethStore pushed addresses

Needed to add hex prefix always.
feature/default_network_editable
Dan Finlay 8 years ago
parent c2105c4070
commit f51a13abaf
  1. 2
      app/scripts/lib/idStore.js

@ -494,7 +494,7 @@ IdentityStore.prototype._createFirstWallet = function (derivedKey) {
keyStore.generateNewAddress(derivedKey, 1)
this.configManager.setWallet(keyStore.serialize())
var addresses = keyStore.getAddresses()
this._ethStore.addAccount(addresses[0])
this._ethStore.addAccount(ethUtil.addHexPrefix(addresses[0]))
}
// get addresses and normalize address hexString

Loading…
Cancel
Save