Fix: pools instead ORION_POOL

This commit is contained in:
Aleksandr Kraiz
2022-09-03 14:47:36 +04:00
parent dcbd07572d
commit ebed263f0b
5 changed files with 20 additions and 7 deletions

View File

@@ -126,7 +126,7 @@ export default async function swapMarket({
assetOut,
amount.toString(),
options?.instantSettlement,
options?.poolOnly ? ['ORION_POOL'] : undefined,
options?.poolOnly ? 'pools' : undefined,
);
const { exchanges: swapExchanges } = swapInfo;