lntest/harness: handle predicate error
This commit is contained in:
1 file changed
+1
@@ -770,6 +770,7 @@ func (n *NetworkHarness) CloseChannel(ctx context.Context,
|
||||
return func() bool {
|
||||
channel, err := filterChannel(node, chanPoint)
|
||||
if err != nil {
|
||||
return false
|
||||
}
|
||||
|
||||
return channel.Active
|
||||
|
||||
Reference in new issue
Block a user