web3-react
web3-react copied to clipboard
Failed to execute 'postMessage' on 'BroadcastChannel' error on Rabby signature with Ledger
I am trying to sign a message with Ledger through Rabby using personal_sign:
const signature = await web3.eth.personal.sign(messageToSign, account, '')
And this is the error I get in the console:
As we see in the error's trace, it is thrown by web3provider. Here is the complete error message:
"Failed to execute 'postMessage' on 'BroadcastChannel': function (r, n) {
return n && n.id && t.id !== n.id ? e(new Error("Wrong response id ".concat(n.id, " (...<omitted>... } could not be cloned."
This error is not thrown when using Rabby without Ledger, or when using other wallets like Metamask.
Edit: this error happens with Rabby no matter if I'm using Ledger or not.