Assertion `min_amount + min_remaining <= max_amount' failed
JaviLib opened this issue · comments
Using master or 0.13A on arm64 I get this error when running the plugin right at the start:
Boss/Mod/ChannelCreator/Planner.cpp:55: Boss::Mod::ChannelCreator::Planner::Impl::Impl(Boss::Mod::ChannelCreator::Planner::DowserFunc, Ln::Amount, std::vector<std::pair<Ln::NodeId, Ln::NodeId> >, std::size_t, Ln::Amount, Ln::Amount, Ln::Amount): Assertion `min_amount + min_remaining <= max_amount' failed.
It continues to happen, but only when I setup clboss-max-channel
or clboss-min-channel
.
I'm not sure, but this seems unlikely to be caused by the msat
conversion because it predates it, I believe.
I haven't run w/ clboss-max-channel
or clboss-min-channel
yet but they seem useful to our case. I will try them when I get a chance and look for that error ...
I haven't managed to get those flags to work, ever. They make clboss crash. At least the max one. This occurred before the msat removal as well...
It seems that it works at some values. After long testing the options, I found that the only ones that work for me are:
important-plugin=/usr/local/bin/clboss
clboss-auto-close=true
#clboss-min-channel=500000
clboss-max-channel=2000000
clboss-zerobasefee=require
clboss-min-onchain=0
As you see, I had to comment out clboss-min-channel
, put clboss-max-channel
higher or equal than 2M, and configure clboss-min-onchain
to zero. I haven't tested clboss-max-channel
higher than 2M, but it is surely crashing with lower values.
Is this the same problem as #137
Most likely, yes. Both regard the setting of the limits.
Actually, no. The other has the assert on the line above failing.