Skip to content

Commit

Permalink
fix toNative chain
Browse files Browse the repository at this point in the history
  • Loading branch information
kev1n-peters committed Sep 23, 2024
1 parent 983d728 commit dbc8e10
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion connect/src/protocols/tokenBridge/tokenTransfer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ export class TokenTransfer<N extends Network = Network>
const fromChain = await wh.getChain(from.chain);
const tb = await fromChain.getTokenBridge();
const wrapped = await tb.getWrappedAsset(token);
nativeAddress = toNative(token.chain, wrapped.toString());
nativeAddress = toNative(from.chain, wrapped.toString());
}

const decimals = await wh.getDecimals(from.chain, nativeAddress);
Expand Down

0 comments on commit dbc8e10

Please sign in to comment.