Skip to content

Commit ca2acf5

Browse files
committed
fix linting
1 parent 7b8c79d commit ca2acf5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

libs/remix-simulator/src/methods/accounts.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -128,11 +128,11 @@ export class Web3Accounts {
128128
cb(null, signature)
129129
}
130130

131-
personal_sign (payload, cb) {
132-
let message = payload.params[0]
131+
personal_sign (payload, cb) {
132+
const message = payload.params[0]
133133
const address = payload.params[1]
134134

135-
const privateKey = this.accountsKeys[toChecksumAddress(address)]
135+
const privateKey = this.accountsKeys[toChecksumAddress(address)]
136136
if (!privateKey) {
137137
return cb(new Error('unknown account'))
138138
}

0 commit comments

Comments
 (0)