Skip to content

Commit

Permalink
chore: update testnet backstop address and ensure anvil result update…
Browse files Browse the repository at this point in the history
…s on account reload
  • Loading branch information
mootz12 committed Sep 18, 2024
1 parent a7e8cb5 commit 3d9979e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .env.testnet
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@ NEXT_PUBLIC_STELLAR_EXPERT_URL=https://stellar.expert/explorer/testnet
NEXT_PUBLIC_RPC_URL=https://soroban-testnet.stellar.org
NEXT_PUBLIC_HORIZON_URL=https://horizon-testnet.stellar.org
NEXT_PUBLIC_PASSPHRASE=Test SDF Network ; September 2015
NEXT_PUBLIC_BACKSTOP=CBNRD2GEJP4Y3H3TG3TDNJFGOVBIBBL6SDQ5LUPT4LUQP62T3LLRGHPK
NEXT_PUBLIC_BACKSTOP=CDJQJS3TLZ6LEWSBOZ2E6QEZZ4NS3JU5LDT2BT7A4UHWAXPLSNE6MM37
NEXT_PUBLIC_USDC_ISSUER=GATALTGTWIOT6BUDBCZM3Q4OQ4BO2COLOAZ7IYSKPLC2PMSOPPGF5V56
NEXT_PUBLIC_BLND_ISSUER=GATALTGTWIOT6BUDBCZM3Q4OQ4BO2COLOAZ7IYSKPLC2PMSOPPGF5V56
2 changes: 1 addition & 1 deletion src/components/borrow/BorrowAnvil.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ export const BorrowAnvil: React.FC<ReserveComponentProps> = ({ poolId, assetId }
} else {
return getErrorFromSim(toBorrow, decimals, loading, simResponse, undefined);
}
}, [toBorrow, simResponse, poolUser]);
}, [toBorrow, simResponse, poolUser, horizonAccount]);

if (pool === undefined || reserve === undefined) {
return <Skeleton />;
Expand Down
2 changes: 1 addition & 1 deletion src/components/withdraw/WithdrawAnvil.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ export const WithdrawAnvil: React.FC<ReserveComponentProps> = ({ poolId, assetId
} else {
return getErrorFromSim(toWithdraw, decimals, loading, simResponse, undefined);
}
}, [toWithdraw, simResponse, loading]);
}, [toWithdraw, simResponse, loading, horizonAccount]);

if (pool === undefined || reserve === undefined) {
return <Skeleton />;
Expand Down

0 comments on commit 3d9979e

Please sign in to comment.