BuildOnViction/tomochain-v1

Update existing orders/trades in case restarting SDK FullNode

thanhnguyennguyen opened this issue · 2 comments

When node restarts, the downloader starts download old blocks.
This process may update existing orders/trades following the formula:

filledAmount += tradeQuantity

This leads to wrong FilledAmount and Status of orders

Double check if there is any effect to trades

fix in #806
There is no effect to Trades since we insert trades only (no update)