lnwallet: return signer error

This commit is contained in:
Joost Jager committed 2020-05-12 13:33:50 +02:00
1 parent 185813abb1
commit 7c4e57c53d
1 file changed
+1 -1
+1 -1
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)