lnwallet: properly check error when creating commit tx in funding flow
This commit is contained in:
1 file changed
+5
@@ -1146,6 +1146,11 @@ func (l *LightningWallet) handleSingleFunderSigs(req *addSingleFunderSigsMsg) {
|
|||||||
pendingReservation.theirContribution.FirstCommitmentPoint,
|
pendingReservation.theirContribution.FirstCommitmentPoint,
|
||||||
fundingTxIn,
|
fundingTxIn,
|
||||||
)
|
)
|
||||||
|
if err != nil {
|
||||||
|
req.err <- err
|
||||||
|
req.completeChan <- nil
|
||||||
|
return
|
||||||
|
}
|
||||||
|
|
||||||
// With both commitment transactions constructed, we can now use the
|
// With both commitment transactions constructed, we can now use the
|
||||||
// generator state obfuscator to encode the current state number within
|
// generator state obfuscator to encode the current state number within
|
||||||
|
|||||||
Reference in new issue
Block a user