From 01ff7d8bdd9d8af0534289eb357410952b022e1c Mon Sep 17 00:00:00 2001 From: lucas Date: Tue, 7 Nov 2023 13:39:46 -0300 Subject: [PATCH] fix(tx-details): fix buy contract wrong precision on fail --- src/components/TransactionContractComponents/index.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/components/TransactionContractComponents/index.tsx b/src/components/TransactionContractComponents/index.tsx index bc5092e62..586fd0731 100644 --- a/src/components/TransactionContractComponents/index.tsx +++ b/src/components/TransactionContractComponents/index.tsx @@ -1715,6 +1715,7 @@ export const Buy: React.FC = ({ const getPrecisionsToSearch = filteredReceipts .map(receipt => receipt.assetId) .filter(precision => precision !== undefined); + getPrecisionsToSearch.push(currencyId, assetId); const precisions = usePrecision(getPrecisionsToSearch); const renderMarketBuy = () => { const buyReceipt = findReceipt(filteredReceipts, 16) as