dcrlnd icon indicating copy to clipboard operation
dcrlnd copied to clipboard

checkCanSendPayments needs to ignore negative chans

Open miki-totefu opened this issue 1 year ago • 0 comments

when one of the channels in checkCanSendPayments has no local capacity because it's an inbound channel, the reserve makes the max outbound amount negative

this is wrong and needs to be fixed

miki-totefu avatar Aug 17 '23 13:08 miki-totefu