Skip to content

Commit

Permalink
signMessage
Browse files Browse the repository at this point in the history
  • Loading branch information
yann300 authored Feb 11, 2025
1 parent 1a436e5 commit 0b1adf7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/remix-ide/src/blockchain/providers/injected.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ export class InjectedProvider {
try {
const personal = new Personal(this.executionContext.web3().currentProvider)
message = isHexString(message) ? message : Web3.utils.utf8ToHex(message)
personal.sign(message, account, passphrase)
personal.sign(message, account, '')
.then(signedData => cb(undefined, bytesToHex(messageHash), signedData))
.catch(error => cb(error, bytesToHex(messageHash), undefined))
} catch (e) {
Expand Down

0 comments on commit 0b1adf7

Please sign in to comment.