LESSON: Lesson 13: Hardhat DeFi & Aave Error: invalid signer #2211
Answered
by
RoboCrypter
sparrow313
asked this question in
Q&A
-
why am I getting this error?
|
Beta Was this translation helpful? Give feedback.
Answered by
RoboCrypter
Aug 30, 2022
Replies: 2 comments 1 reply
-
@sparrow313 : Correct your this line of code with this one: You were missing |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
sparrow313
-
Hey @sparrow313 add |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@sparrow313 : Correct your this line of code with this one:
const wethBalance = await iWeth.balanceOf(deployer)
You were missing
await
keyword, That's why it is giving you error "Invalid Signer", Rest your code is fine.