multi: pass reset to ForEachNodeCached

This commit is contained in:
Elle Mouton committed 2025-07-15 11:23:27 +02:00
1 parent e5fbca8299
commit c32bf642d2
14 files changed
+61 -25

No files matched your search

+3
View File
@@ -640,6 +640,9 @@ func (a *Agent) openChans(ctx context.Context, availableFunds btcutil.Amount,
nodes[nID] = struct{}{}
return nil
}, func() {
nodes = nil
addresses = nil
}); err != nil {
return fmt.Errorf("unable to get graph nodes: %w", err)
}