We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e0c0dd0 commit e107322Copy full SHA for e107322
packages/xchain-mayachain-amm/src/mayachain-amm.ts
@@ -319,7 +319,7 @@ export class MayachainAMM {
319
private isERC20Asset(asset: Asset): boolean {
320
// Check if the asset's chain is an EVM chain and if the symbol matches AssetETH.symbol
321
return this.isEVMChain(asset.chain)
322
- ? [AssetETH].findIndex((nativeEVMAsset) => eqAsset(nativeEVMAsset, asset)) === -1
+ ? [AssetETH].findIndex((nativeEVMAsset) => eqAsset(nativeEVMAsset, asset)) === -1 && !asset.synth
323
: false
324
}
325
0 commit comments