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 fb9c20b commit 43ce881Copy full SHA for 43ce881
apps/remix-ide/src/blockchain/providers/injected.ts
@@ -41,7 +41,7 @@ export class InjectedProvider {
41
message = isHexString(message) ? message : Web3.utils.utf8ToHex(message)
42
const messageHash = hashPersonalMessage(Buffer.from(message))
43
try {
44
- this.executionContext.web3().eth.sign(messageHash, account).then((signedData) => {
+ this.executionContext.web3().personal.sign(messageHash, account).then((signedData) => {
45
cb(null, bytesToHex(messageHash), signedData)
46
}).catch((error => cb(error)))
47
} catch (e) {
0 commit comments