funding: display error if unable to watch for channel
This commit is contained in:
1 file changed
+3
-3
+3
-3
@@ -1208,8 +1208,8 @@ func (f *fundingManager) handleFundingCreated(fmsg *fundingCreatedMsg) {
|
|||||||
// send it to the ChainArbitrator so it can watch for any on-chain
|
// send it to the ChainArbitrator so it can watch for any on-chain
|
||||||
// actions during this final confirmation stage.
|
// actions during this final confirmation stage.
|
||||||
if err := f.cfg.WatchNewChannel(completeChan); err != nil {
|
if err := f.cfg.WatchNewChannel(completeChan); err != nil {
|
||||||
fndgLog.Error("Unable to send new ChannelPoint(%v) for "+
|
fndgLog.Errorf("Unable to send new ChannelPoint(%v) for "+
|
||||||
"arbitration", fundingOut)
|
"arbitration: %v", fundingOut, err)
|
||||||
}
|
}
|
||||||
|
|
||||||
// Create an entry in the local discovery map so we can ensure that we
|
// Create an entry in the local discovery map so we can ensure that we
|
||||||
@@ -1348,7 +1348,7 @@ func (f *fundingManager) handleFundingSigned(fmsg *fundingSignedMsg) {
|
|||||||
// confirmed.
|
// confirmed.
|
||||||
if err := f.cfg.WatchNewChannel(completeChan); err != nil {
|
if err := f.cfg.WatchNewChannel(completeChan); err != nil {
|
||||||
fndgLog.Errorf("Unable to send new ChannelPoint(%v) for "+
|
fndgLog.Errorf("Unable to send new ChannelPoint(%v) for "+
|
||||||
"arbitration", fundingPoint)
|
"arbitration: %v", fundingPoint, err)
|
||||||
}
|
}
|
||||||
|
|
||||||
fndgLog.Infof("Finalizing pendingID(%x) over ChannelPoint(%v), "+
|
fndgLog.Infof("Finalizing pendingID(%x) over ChannelPoint(%v), "+
|
||||||
|
|||||||
Reference in new issue
Block a user