Merge pull request #4277 from joostjager/fix-signer-err
lnwallet: return signer error
This commit is contained in:
commit
02f8a0db2b
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user