Skip to content

Commit

Permalink
Merge pull request #109 from axelarnetwork/develop
Browse files Browse the repository at this point in the history
chore: potential bugfix for cosmoshub ibc transfer (#107)
  • Loading branch information
canhtrinh authored Sep 19, 2022
2 parents dd4c594 + f62a256 commit b2afd37
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions components/swap/states/parts/CosmosWalletTransfer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -173,9 +173,12 @@ export const CosmosWalletTransfer = () => {
// [sendCoin],
// fee
// );
const [_action, _channel, _denom] = currentAsset?.fullDenomPath?.split(
"/"
) as string[];
// const [_action, _channel, _denom] = currentAsset?.fullDenomPath?.split(
// "/"
// ) as string[];

const _action = "transfer";
const _channel = getCosmosChains(allAssets).find(chain => chain.chainIdentifier.toLowerCase() === srcChain.chainName.toLowerCase())?.chainToAxelarChannelId as string;

const timeoutHeight: Height = {
revisionHeight: Long.fromNumber(10),
Expand Down

2 comments on commit b2afd37

@vercel
Copy link

@vercel vercel bot commented on b2afd37 Sep 19, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@vercel
Copy link

@vercel vercel bot commented on b2afd37 Sep 20, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.