multi: pass reset to ForEachNodeCached
This commit is contained in:
14 files changed
+61
-25
No files matched your search
@@ -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)
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user