Merge pull request #450 from cfromknecht/handle-sigpool-start-error

lnwallet/channel: handle error from sigpool start
This commit is contained in:
Olaoluwa Osuntokun 2017-12-03 16:34:20 -08:00 committed by GitHub
commit 646df95029
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -1353,7 +1353,7 @@ func NewLightningChannel(signer Signer, events chainntnfs.ChainNotifier,
// Finally, we'll kick of the signature job pool to handle any upcoming
// commitment state generation and validation.
if lc.sigPool.Start(); err != nil {
if err := lc.sigPool.Start(); err != nil {
return nil, err
}