funding: return an error if unable to sendFundingLocked
This commit is contained in:
1 file changed
+1
-1
+1
-1
@@ -1618,7 +1618,7 @@ func (f *fundingManager) sendFundingLocked(completeChan *channeldb.OpenChannel,
|
||||
case <-connected:
|
||||
// Retry sending.
|
||||
case <-f.quit:
|
||||
return nil
|
||||
return fmt.Errorf("shutting down unable to send")
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user