funding: return an error if unable to sendFundingLocked

This commit is contained in:
Olaoluwa Osuntokun 2017-12-07 19:03:46 -08:00
parent 8a7085f8b4
commit 0ba80f5b40
No known key found for this signature in database
GPG Key ID: 964EA263DD637C21
1 changed files with 1 additions and 1 deletions

View File

@ -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")
}
}