mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-10-11 04:32:42 +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 {
|
return func() bool {
|
||||||
channel, err := filterChannel(node, chanPoint)
|
channel, err := filterChannel(node, chanPoint)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
return false
|
||||||
}
|
}
|
||||||
|
|
||||||
return channel.Active
|
return channel.Active
|
||||||
|
Reference in New Issue
Block a user