remove openbook market creation low value block
This commit is contained in:
parent
0ae9c546ea
commit
8bc661d07f
|
@ -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}
|
||||||
|
|
|
@ -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,
|
||||||
})
|
})
|
||||||
}, [
|
}, [
|
||||||
|
|
Loading…
Reference in New Issue