Crypto-Pioneers / Evox-MarginTrading-SmartContracts

0 stars 0 forks source link

Add userNegativeValue #30

Closed mymiracle0118 closed 6 months ago

mymiracle0118 commented 6 months ago

If totalAssetCollateral Value is less than userLiabilities. so it generates underflow issue while processCheck function callling

mymiracle0118 commented 6 months ago

I fixed it and add userNegativeValue for displaying it on frontend.