Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
rpc: update updatechanpolicy to allow zero fees #3139
I remember running into this specific problem. The EdgeWeight can return zero if fee = zero, because INT64 is used instead of float:
func edgeWeight(lockedAmt lnwire.MilliSatoshi, fee lnwire.MilliSatoshi,
If TimelockPenalty results in number less than one, the return would be fees only... which was almost always.
Though, I think that was addressed by changing: