Skip to content

Commit

Permalink
remove uncesary links
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastianscatularo committed Aug 28, 2023
1 parent c48f595 commit 434116a
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 14 deletions.
2 changes: 0 additions & 2 deletions docs/docs/tutorials/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@ sidebar_position: 3

# Tutorials

* [How to send USDC from Ethereum to Solana](./how-to-send-usdc-from-ethereum-to-solana.md)
* [How to send USDC from Solana to Ethereum](./how-to-send-usdc-from-solana-to-ethereum.md)
* [Token/NFT Redeem Workflow](./how-to-use-recovery-workflow.md)
* [How to use NFT Bridge](./how-to-use-nft-bridge.md)
* [How to use NFT Origin tool](./how-to-use-nft-origin-tool.md)
Expand Down
5 changes: 2 additions & 3 deletions src/components/Migration/EvmQuickMigrate.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -147,9 +147,8 @@ function EvmMigrationLineItem({
poolInfo.data.migrator.address,
migrationAmountAbs
);
const transaction = await poolInfo.data.migrator.migrate(
migrationAmountAbs
);
const transaction =
await poolInfo.data.migrator.migrate(migrationAmountAbs);
await transaction.wait();
setTransaction(transaction.hash);
enqueueSnackbar(null, {
Expand Down
10 changes: 4 additions & 6 deletions src/components/SolanaCreateAssociatedAddress.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,8 @@ export function useAssociatedAccountExistsState(
);
const match = associatedAddress.toString() === readableTargetAddress;
if (match) {
const associatedAddressInfo = await connection.getAccountInfo(
associatedAddress
);
const associatedAddressInfo =
await connection.getAccountInfo(associatedAddress);
if (!associatedAddressInfo) {
if (!cancelled) {
setAssociatedAccountExists(false);
Expand Down Expand Up @@ -112,9 +111,8 @@ export default function SolanaCreateAssociatedAddress({
);
const match = associatedAddress.toString() === readableTargetAddress;
if (match) {
const associatedAddressInfo = await connection.getAccountInfo(
associatedAddress
);
const associatedAddressInfo =
await connection.getAccountInfo(associatedAddress);
if (!associatedAddressInfo) {
setIsCreating(true);
const transaction = new Transaction().add(
Expand Down
5 changes: 2 additions & 3 deletions src/hooks/useHandleRedeem.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -185,9 +185,8 @@ async function evm(
signer
);

const estimateGas = await L2WormholeGateway.estimateGas.receiveTbtc(
signedVAA
);
const estimateGas =
await L2WormholeGateway.estimateGas.receiveTbtc(signedVAA);

// We increase the gas limit estimation here by a factor of 10% to account for some faulty public JSON-RPC endpoints.
const gasLimit = estimateGas.mul(1100).div(1000);
Expand Down

0 comments on commit 434116a

Please sign in to comment.