BlockPo / BlockPo-to-Tradelayer

Incubation Repo for the TradeLayer protocol, 0.2.0
http://www.tradelayer.org
Other
8 stars 8 forks source link

margin check before taking the balance #284

Closed Galuf1 closed 4 years ago

Galuf1 commented 4 years ago

we need to add the check if the address has enough balance to post the order, with the comparison including the fees, example:

if the order is 100 ALL in margin, and 0.5 in fees, the min. balance to be able to post the order is 100 + 0.5.

santos177 commented 4 years ago

working on fee_fix branch