-
Notifications
You must be signed in to change notification settings - Fork 4.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Account.signTransaction(tx, callback) error #2571
Labels
Bug
Addressing a bug
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
After updating from
1.0.0-beta.35
to1.0.0-beta.50
I have got a problem with this code snippet in my program:Expected behavior
Raw transaction (
tx
) should be signed, and returned insignedTx
.Actual behavior
I've got the error:
I think the problem in
web3.js/packages/web3-eth-accounts/src/models/Account.js
module. So in my code:The
web3.accounts.decrypt(...)
function is called. And it callsAccount.fromPrivateKey(...)
:When I call:
It calls:
And it is no signTransaction(...) function in transactionSigner object.
Versions
The text was updated successfully, but these errors were encountered: