Void signer can not sign a transaction #5627
-
I have made an erc721 clone. Now when I am performing the following tests:
it is giving the following error on this line (
I have checked the debug terminal for the variables and they are to the mark as per me. Please help. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
@darshilmistry Here |
Beta Was this translation helpful? Give feedback.
-
I am extremally sorry! I made a small mistake. I used the I saw the error thoroughly and thought that adding a
|
Beta Was this translation helpful? Give feedback.
I am extremally sorry! I made a small mistake. I used the
ethers.getSigners()
function and then directly used the result ofsigners[1]
in mygetBalance()
function which resulted in the previous error.I saw the error thoroughly and thought that adding a
.address
aftertester
solves the problem.so the new test looks like this and yields required result.