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:
2 files changed
+24
-1
No files matched your search
@@ -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