funding: return an error if unable to sendFundingLocked

This commit is contained in:
Olaoluwa Osuntokun committed 2017-12-07 19:03:51 -08:00
1 parent 8a7085f8b4
commit 0ba80f5b40
1 file changed
+1 -1
+1 -1
View File
@@ -1618,7 +1618,7 @@ func (f *fundingManager) sendFundingLocked(completeChan *channeldb.OpenChannel,
case <-connected: case <-connected:
// Retry sending. // Retry sending.
case <-f.quit: case <-f.quit:
return nil return fmt.Errorf("shutting down unable to send")
} }
} }