multi: let ForEachNodeChannel take a reset param
This commit is contained in:
13 files changed
+57
-43
No files matched your search
@@ -125,7 +125,7 @@ func TestManager(t *testing.T) {
|
||||
|
||||
forAllOutgoingChannels := func(_ context.Context,
|
||||
cb func(*models.ChannelEdgeInfo,
|
||||
*models.ChannelEdgePolicy) error) error {
|
||||
*models.ChannelEdgePolicy) error, _ func()) error {
|
||||
|
||||
for _, c := range channelSet {
|
||||
if err := cb(c.edgeInfo, ¤tPolicy); err != nil {
|
||||
|
||||
Reference in new issue
Block a user