multi: add itest testSweepAnchorCPFPLocalForceClose

This commit adds an itest case that focuses on validating the CPFP logic
in anchor sweeping.
This commit is contained in:
yyforyongyu committed 2024-04-19 21:33:36 +08:00
1 parent a2b8f4e19c
commit 94e0e32c74
6 files changed
+434 -7

No files matched your search

+2 -1
View File
@@ -931,7 +931,8 @@ func (s *UtxoSweeper) markInputsPublished(tr *TxRecord,
// Valdiate that the input is in an expected state.
if pi.state != PendingPublish {
log.Errorf("Expect input %v to have %v, instead it "+
// We may get a Published if this is a replacement tx.
log.Debugf("Expect input %v to have %v, instead it "+
"has %v", input.PreviousOutPoint,
PendingPublish, pi.state)