BlockPo/BlockPo-to-Tradelayer

Instant_Trade Crash

Closed this issue · 0 comments

The debug.log shows the last chaintip update at block 1753913, which coincides with running the Trade Channels scripts yesterday in the early afternoon.

2021-01-05T15:30:55Z UpdateTip: new best=1bf205e2750177c67e45b947f66af2f304e7f813cf576e917741c636034e95b4 height=1753913 version=0x20000000 log2_work=54.056967 tx=4270009 date='2021-01-05T15:32:14Z' progress=1.000000 cache=70.9MiB(523167txo)

The crash err report:

valiopld@DESKTOP-QUANSNR:~/BlockPo-to-Tradelayer/src$ ./litecoind
litecoind: tradelayer/tx.cpp:4402: int CMPTransaction::logicMath_Instant_Trade(): Assertion `chn.updateChannelBal(chn.getFirst(), property, -amount_forsale)' failed.
Aborted (core dumped)

Seems like addressing that like of tx.cpp is a good place to start.