Open cag opened 3 years ago
Somebody using web3-react and ethers.js v5 with this library currently is unable to initialize the CPK:
I think the error is triggered from here: https://github.com/ethers-io/ethers.js/blob/22dee96f512ad7d7cae5d278cc607cdff6112f05/packages/contracts/src.ts/index.ts#L624
The return value of library.getSigner(account) seems legit at first glance though:
library.getSigner(account)
I got same error in recent days. I will share you after fix it.
Somebody using web3-react and ethers.js v5 with this library currently is unable to initialize the CPK:
I think the error is triggered from here: https://github.com/ethers-io/ethers.js/blob/22dee96f512ad7d7cae5d278cc607cdff6112f05/packages/contracts/src.ts/index.ts#L624
The return value of
library.getSigner(account)
seems legit at first glance though: