Commit 6d37555b authored by yann300's avatar yann300 Committed by Aniket

fix _addAccount

parent c879126c
......@@ -62,7 +62,7 @@ Accounts.prototype._addAccount = function (privateKey, balance) {
})
this.accounts[ethJSUtil.toChecksumAddress('0x' + address.toString('hex'))] = { privateKey, nonce: 0 }
this.accounts[ethJSUtil.toChecksumAddress('0x' + address.toString('hex'))] = { privateKey, nonce: 0 }
this.accountsKeys[ethJSUtil.toChecksumAddress('0x' + address.toString('hex'))] = privateKey
}
Accounts.prototype.newAccount = function (cb) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment