remove openbook market creation low value block

This commit is contained in:
Adrian Brzeziński 2024-02-11 12:34:53 +04:00
parent 0ae9c546ea
commit 8bc661d07f
2 changed files with 2 additions and 7 deletions

View File

@ -445,9 +445,7 @@ const ListMarket = ({ goBack }: { goBack: () => void }) => {
<div className="mt-2 flex items-center justify-between"> <div className="mt-2 flex items-center justify-between">
<p>{t('price-tick')}</p> <p>{t('price-tick')}</p>
<p className="text-th-fgd-2"> <p className="text-th-fgd-2">
{tradingParams.priceIncrement <= 1e-9 {tradingParams.priceIncrement.toString()}
? '1e-8'
: tradingParams.priceIncrement.toString()}
</p> </p>
</div> </div>
) : null} ) : null}

View File

@ -149,10 +149,7 @@ const CreateOpenbookMarketModal = ({
baseMint: baseMint || '', baseMint: baseMint || '',
quoteMint: quoteMint || '', quoteMint: quoteMint || '',
minimumOrderSize: tradingParams.minOrderSize.toString(), minimumOrderSize: tradingParams.minOrderSize.toString(),
minimumPriceTickSize: minimumPriceTickSize: tradingParams.priceIncrement.toString(),
tradingParams.priceIncrement <= 1e-9
? '1e-8'
: tradingParams.priceIncrement.toString(),
xlMarket: false, xlMarket: false,
}) })
}, [ }, [