Fix typos in GMX sampling logic (#520)
This commit is contained in:
parent
4d63f33aba
commit
feb91a04b0
@ -1698,8 +1698,8 @@ export class SamplerOperations {
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
case ERC20BridgeSource.GMX: {
|
case ERC20BridgeSource.GMX: {
|
||||||
// low liquidity mim pool dont quote
|
// MIM has no liquidity.
|
||||||
if (takerToken === AVALANCHE_TOKENS.MIM || makerToken === 'AVALANCHE_TOKENS.MIM') {
|
if (takerToken === AVALANCHE_TOKENS.MIM || makerToken === AVALANCHE_TOKENS.MIM) {
|
||||||
return [];
|
return [];
|
||||||
}
|
}
|
||||||
return this.getGMXSellQuotes(
|
return this.getGMXSellQuotes(
|
||||||
@ -2030,8 +2030,8 @@ export class SamplerOperations {
|
|||||||
return this.getCompoundBuyQuotes(cToken.tokenAddress, makerToken, takerToken, makerFillAmounts);
|
return this.getCompoundBuyQuotes(cToken.tokenAddress, makerToken, takerToken, makerFillAmounts);
|
||||||
}
|
}
|
||||||
case ERC20BridgeSource.GMX: {
|
case ERC20BridgeSource.GMX: {
|
||||||
// bad mim pool dont quote
|
// MIM has no liquidity.
|
||||||
if (takerToken === 'AVALANCHE_TOKENS.MIM' || makerToken === 'AVALANCHE_TOKENS.MIM') {
|
if (takerToken === AVALANCHE_TOKENS.MIM || makerToken === AVALANCHE_TOKENS.MIM) {
|
||||||
return [];
|
return [];
|
||||||
}
|
}
|
||||||
return this.getGMXBuyQuotes(
|
return this.getGMXBuyQuotes(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user