lnwallet: return signer error

This commit is contained in:
Joost Jager 2020-05-12 13:33:45 +02:00
parent 185813abb1
commit 7c4e57c53d
No known key found for this signature in database
GPG Key ID: A61B9D4C393C59C7

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