lnwallet/channel: handle error from sigpool start

This commit is contained in:
Conner Fromknecht committed 2017-12-02 17:16:43 -08:00
1 parent f196c72aa4
commit e8590b12ba
1 file changed
+1 -1
+1 -1
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
}