cnct: reuse sweep tx logic for success resolver
This commit is contained in:
3 files changed
+98
-77
No files matched your search
@@ -118,6 +118,13 @@ func (s *UtxoSweeper) CreateSweepTx(inputs []Input,
|
||||
)
|
||||
cltvCount++
|
||||
|
||||
// An HTLC on the commitment transaction of the remote party,
|
||||
// that can be swept with the preimage.
|
||||
case lnwallet.HtlcAcceptedRemoteSuccess:
|
||||
weightEstimate.AddWitnessInput(
|
||||
lnwallet.OfferedHtlcSuccessWitnessSize,
|
||||
)
|
||||
|
||||
default:
|
||||
unknownCount++
|
||||
log.Warnf("kindergarten output in nursery store "+
|
||||
|
||||
Reference in new issue
Block a user