Skip to content

Value printed as [object Object]? #657

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

You must be logged in to vote

@obc92 The issue I am seeing is that the parseEther function returns the value as string, and changePrice requires an integer, await Code.changePrice(NewValue).

Replies: 4 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by obc92
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants