We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7b8c79d commit ca2acf5Copy full SHA for ca2acf5
libs/remix-simulator/src/methods/accounts.ts
@@ -128,11 +128,11 @@ export class Web3Accounts {
128
cb(null, signature)
129
}
130
131
- personal_sign (payload, cb) {
132
- let message = payload.params[0]
+ personal_sign (payload, cb) {
+ const message = payload.params[0]
133
const address = payload.params[1]
134
135
- const privateKey = this.accountsKeys[toChecksumAddress(address)]
+ const privateKey = this.accountsKeys[toChecksumAddress(address)]
136
if (!privateKey) {
137
return cb(new Error('unknown account'))
138
0 commit comments