We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 014e919 commit 439d64aCopy full SHA for 439d64a
liquidity/liquidity.go
@@ -594,12 +594,14 @@ func (m *Manager) dispatchBestEasyAutoloopSwap(ctx context.Context) error {
594
return err
595
}
596
597
+ usableChannels := make([]lndclient.ChannelInfo, 0, len(channels))
598
localTotal := btcutil.Amount(0)
599
for _, channel := range channels {
600
if channelIsCustom(channel) {
601
continue
602
603
localTotal += channel.LocalBalance
604
+ usableChannels = append(usableChannels, channel)
605
606
607
// Since we're only autolooping-out we need to check if we are below
0 commit comments