lnwallet/wallet: add missing error handling
This commit is contained in:
parent
183adf6e61
commit
f589c86963
@ -971,7 +971,12 @@ func (l *LightningWallet) handleFundingCounterPartySigs(msg *addCounterPartySigs
|
|||||||
txin.Witness[len(txin.Witness)-1],
|
txin.Witness[len(txin.Witness)-1],
|
||||||
)
|
)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
msg.err <- fmt.Errorf("cannot create script: "+
|
||||||
|
"%v", err)
|
||||||
|
msg.completeChan <- nil
|
||||||
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
output, err := l.Cfg.ChainIO.GetUtxo(
|
output, err := l.Cfg.ChainIO.GetUtxo(
|
||||||
&txin.PreviousOutPoint,
|
&txin.PreviousOutPoint,
|
||||||
pkScript, 0, l.quit,
|
pkScript, 0, l.quit,
|
||||||
|
Loading…
Reference in New Issue
Block a user