Skip to content

Commit bbc699f

Browse files
authored
Merge pull request #2622 from pyth-network/cprussin/remove-max-retries-from-wallet-tester
fix(staking): remove max retries from wallet tester
2 parents 8d7bba7 + f9b4fe3 commit bbc699f

File tree

1 file changed

+0
-3
lines changed
  • apps/staking/src/components/WalletTester

1 file changed

+0
-3
lines changed

apps/staking/src/components/WalletTester/index.tsx

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,6 @@ import { useToast } from "../../hooks/use-toast";
2626
import { Button } from "../Button";
2727
import { Switch } from "../Switch";
2828

29-
const MAX_TEST_RETRIES = 10;
30-
3129
export const WalletTester = () => (
3230
<div className="grid size-full place-content-center">
3331
<div className="w-96 border border-neutral-600 p-10">
@@ -228,7 +226,6 @@ const testWallet = async (connection: Connection, wallet: AnchorWallet) => {
228226
),
229227
connection,
230228
wallet,
231-
MAX_TEST_RETRIES,
232229
);
233230
} else {
234231
throw new Error("No test method found in program");

0 commit comments

Comments
 (0)