mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
Fix ethStore pushed addresses
Needed to add hex prefix always.
This commit is contained in:
parent
c2105c4070
commit
f51a13abaf
@ -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…
Reference in New Issue
Block a user