lnwallet/channel: handle error from sigpool start

This commit is contained in:
Conner Fromknecht 2017-11-28 12:55:33 -08:00
parent f196c72aa4
commit e8590b12ba
No known key found for this signature in database
GPG Key ID: 39DE78FBE6ACB0EF

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