Reach WalletConnect fails to sign transactions in React Hooks, promise waits forever #948
Answered
by
AtegyekaRodgers
AtegyekaRodgers
asked this question in
Q&A
-
My code repository is this: /~https://github.com/Reach-Insurance/react Specifically line const deployContract = async (e) => {
//...
//...
console.log("Setting the initial state of the contract just deployed");
await insurerContract.current.p.Insurer(interact.current);
console.log("getting the contract info ...");
const info = await insurerContract.current.getInfo();
console.log("info =", info);
const infoStr = JSON.stringify(info);
//...
//...
}
``` |
Beta Was this translation helpful? Give feedback.
Answered by
AtegyekaRodgers
May 10, 2022
Replies: 1 comment 2 replies
-
The promise on line 271 is |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
jeapostrophe
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The promise on line 271 is
await
ed forever. It never resolves