From 9678df7a4b2cafb09e3120cf7ad948ff43065794 Mon Sep 17 00:00:00 2001 From: mstfash Date: Thu, 12 May 2022 10:03:08 +0200 Subject: [PATCH] fix RAD value for sellAmount --- src/components/AuctionsOperations/AuctionsPayment.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/AuctionsOperations/AuctionsPayment.tsx b/src/components/AuctionsOperations/AuctionsPayment.tsx index bf698a94..a2e2f431 100644 --- a/src/components/AuctionsOperations/AuctionsPayment.tsx +++ b/src/components/AuctionsOperations/AuctionsPayment.tsx @@ -98,7 +98,7 @@ const AuctionsPayment = () => { const maxBid = (): string => { const sellAmountBN = sellAmount - ? BigNumber.from(toFixedString(sellAmount, 'WAD')) + ? BigNumber.from(toFixedString(sellAmount, 'RAD')) : BigNumber.from('0') const buyAmountBN = buyAmount ? auctionType === 'STAKED_TOKEN'