lnwallet: return signer error

This commit is contained in:
Joost Jager 2020-05-12 13:33:45 +02:00 committed by Olaoluwa Osuntokun
parent 35c23a9d85
commit d914f55e2c

View File

@ -3425,7 +3425,7 @@ func (lc *LightningChannel) SignNextCommitment() (lnwire.Sig, []lnwire.Sig, []ch
// jobs.
if jobResp.Err != nil {
close(cancelChan)
return sig, htlcSigs, nil, err
return sig, htlcSigs, nil, jobResp.Err
}
htlcSigs = append(htlcSigs, jobResp.Sig)