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

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
}