fix(trading): notional size formatting (#4192)

This commit is contained in:
m.ray 2023-06-27 11:33:42 +03:00 committed by GitHub
parent b8c9f9772e
commit 5cae2ce400
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -124,7 +124,7 @@ export const DealTicket = ({
normalizedOrder.size, normalizedOrder.size,
market.positionDecimalPlaces market.positionDecimalPlaces
).multipliedBy(toBigNum(price, market.decimalPlaces)), ).multipliedBy(toBigNum(price, market.decimalPlaces)),
asset.decimals market.decimalPlaces
); );
} }
return null; return null;
@ -133,7 +133,6 @@ export const DealTicket = ({
normalizedOrder?.size, normalizedOrder?.size,
market.decimalPlaces, market.decimalPlaces,
market.positionDecimalPlaces, market.positionDecimalPlaces,
asset.decimals,
]); ]);
const feeEstimate = useEstimateFees( const feeEstimate = useEstimateFees(