Skip to content

LESSON 5: address function for contract #5277

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

You must be logged in to vote

@NamanMohnani use await;

-let address1 = contract.getAddress();
+let address1 = await contract.getAddress();

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by naman1402
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
2 participants