Skip to content

Error When Running My Test, Says Too Many Arguments.. #883

Answered by alymurtazamemon
Benrockiee asked this question in Q&A
Discussion options

You must be logged in to vote

@Benrockiee I think this is similar to the fund me contract, and you want to send the amount to this method.

- await Etherwallet.deposit(expectedValue)
+ await Etherwallet.deposit({value: expectedValue}); //it should be like this.

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@Benrockiee
Comment options

@alymurtazamemon
Comment options

Answer selected by Benrockiee
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants