Use faucet to fund laconic accounts while sending a transaction #2

Merged
nabarun merged 9 commits from ag-integrate-faucet into main 2024-07-18 06:02:58 +00:00
Showing only changes of commit fa5c865f0d - Show all commits

View File

@ -53,7 +53,8 @@ const SignWithCosmos = () => {
}),
});
if (!response.ok) {
if (response.status === 429) {
enqueueSnackbar(response.statusText, { variant: "error" });
throw new Error('Failed to send request');
}