Skip to content

Commit

Permalink
Temp workaround
Browse files Browse the repository at this point in the history
  • Loading branch information
TheoXD committed Mar 22, 2024
1 parent 8db0e3b commit 1cc6e8e
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,8 @@ function App() {
w0?.getEthersProvider().then(async (provider) => {
const balance = await getBalance(provider);
if (!isFunded && balance?.lte(100000000000000)) {
const funded = await fundWallet(w0.address);
await fundWallet(w0.address);
/*
if (funded) {
setIsFunded(true);
} else {
Expand All @@ -98,9 +99,9 @@ function App() {
message: "Could not fund wallet",
});
}
} else {
setIsFunded(true);
*/
}
setIsFunded(true);
});
})
}, [w0])
Expand Down

0 comments on commit 1cc6e8e

Please sign in to comment.