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 12d8570 commit ff23e26Copy full SHA for ff23e26
console/bridge.go
@@ -306,9 +306,9 @@ func (b *bridge) Sign(call jsre.Call) (goja.Value, error) {
306
}
307
308
// Send the request to the backend and return
309
- sign, callable := goja.AssertFunction(getJeth(call.VM).Get("unlockAccount"))
+ sign, callable := goja.AssertFunction(getJeth(call.VM).Get("sign"))
310
if !callable {
311
- return nil, fmt.Errorf("jeth.unlockAccount is not callable")
+ return nil, fmt.Errorf("jeth.sign is not callable")
312
313
return sign(goja.Null(), message, account, passwd)
314
0 commit comments