Skip to content
This repository was archived by the owner on Mar 3, 2021. It is now read-only.

Commit ff45b02

Browse files
committed
cleanup
1 parent 6b816d7 commit ff45b02

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

remix-simulator/src/methods/accounts.js

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -63,11 +63,9 @@ Accounts.prototype._addAccount = function (privateKey, balance) {
6363

6464
this.accounts[ethJSUtil.toChecksumAddress('0x' + address.toString('hex'))] = { privateKey, nonce: 0 }
6565
this.accounts[ethJSUtil.toChecksumAddress('0x' + address.toString('hex'))] = { privateKey, nonce: 0 }
66-
// this.accountsList[ethJSUtil.toChecksumAddress('0x' + address.toString('hex'))] = { privateKey, nonce: 0 }
6766
}
6867

6968
Accounts.prototype.newAccount = function (cb) {
70-
console.dir("newAccount")
7169
let privateKey
7270
do {
7371
privateKey = crypto.randomBytes(32)
@@ -84,8 +82,7 @@ Accounts.prototype.methods = function () {
8482
}
8583
}
8684

87-
Accounts.prototype.eth_accounts = function (payload, cb) {
88-
// return cb(null, this.accountsList.map((x) => ethJSUtil.toChecksumAddress(x.address)))
85+
Accounts.prototype.eth_accounts = function (_payload, cb) {
8986
return cb(null, Object.keys(this.accounts))
9087
}
9188

0 commit comments

Comments
 (0)