Skip to content

Commit

Permalink
fix native send
Browse files Browse the repository at this point in the history
  • Loading branch information
estebanmino committed Nov 13, 2023
1 parent 467a653 commit 6c038b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/utils/chains.ts
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ export const isL2Chain = (chain: ChainName | ChainId): boolean => {
};

export function isNativeAsset(address: AddressOrEth, chainId: ChainId) {
if (isCustomChain(chainId)) {
if (isCustomChain(chainId) || isTestnetChainId({ chainId })) {
return AddressZero === address;
}
return isLowerCaseMatch(NATIVE_ASSETS_PER_CHAIN[chainId], address);
Expand Down

0 comments on commit 6c038b2

Please sign in to comment.