mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-09-28 18:06:31 +02:00
lntest/harness: handle predicate error
This commit is contained in:
@@ -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