mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-09-13 18:10:25 +02:00
rpcserver+lntemp: add more error logs to PendingChannels
This commit adds error logs to `PendingChannels` and changes how we assert the num of pending force close channels, see the docs for more info.
This commit is contained in:
@@ -3479,6 +3479,9 @@ func (r *rpcServer) fetchPendingForceCloseChannels() (pendingForceClose,
|
||||
&chanPoint, currentHeight, forceClose,
|
||||
)
|
||||
if err != nil {
|
||||
rpcsLog.Errorf("unable to populate nursery "+
|
||||
"force close resp:%s, %v",
|
||||
chanPoint, err)
|
||||
return nil, 0, err
|
||||
}
|
||||
|
||||
@@ -3486,6 +3489,9 @@ func (r *rpcServer) fetchPendingForceCloseChannels() (pendingForceClose,
|
||||
&chanPoint, currentHeight, forceClose,
|
||||
)
|
||||
if err != nil {
|
||||
rpcsLog.Errorf("unable to populate arbitrator "+
|
||||
"force close resp:%s, %v",
|
||||
chanPoint, err)
|
||||
return nil, 0, err
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user