From bbcb867d2035cebe2c8e8017dbaf2f18db2151ee Mon Sep 17 00:00:00 2001 From: Bogdan Fazakas Date: Fri, 15 Dec 2023 13:37:31 +0200 Subject: [PATCH] undo hardcode --- src/utils/OrderUtils.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/OrderUtils.ts b/src/utils/OrderUtils.ts index 88c2dad4..132d81e1 100644 --- a/src/utils/OrderUtils.ts +++ b/src/utils/OrderUtils.ts @@ -184,7 +184,7 @@ export async function orderAsset( await consumerAccount.getAddress(), exchange.baseToken, config.fixedRateExchangeAddress, - '1', + price, false ) const txApprove = typeof tx !== 'number' ? await tx.wait() : tx