Skip to content

Commit

Permalink
chore: read destination chain from interchain_transfer as well
Browse files Browse the repository at this point in the history
  • Loading branch information
npty committed Feb 13, 2025
1 parent 89d37c7 commit 2071014
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ export const getTransactionStatusesOnDestinationChains = publicProcedure
call,
status: firstHopStatus,
interchain_token_deployment_started: tokenDeployment,
interchain_transfer: tokenTransfer,
} = gmpData;

const chainType = gmpData.call.chain_type;
Expand All @@ -54,6 +55,7 @@ export const getTransactionStatusesOnDestinationChains = publicProcedure
}

const destinationChain =
tokenTransfer?.destinationChain?.toLowerCase() ||
tokenDeployment?.destinationChain?.toLowerCase() ||
call.returnValues.destinationChain.toLowerCase();

Expand Down

0 comments on commit 2071014

Please sign in to comment.