sweep: remove dead code and add better logging

This commit is contained in:
yyforyongyu committed 2025-02-20 14:40:52 +08:00
1 parent 50bc191feb
commit 121116cff7
2 files changed
+10 -16

No files matched your search

+1 -1
View File
@@ -211,7 +211,7 @@ func (m *MempoolNotifier) findRelevantInputs(tx *btcutil.Tx) (inputsWithTx,
// If found, save it to watchedInputs to notify the
// subscriber later.
Log.Infof("Found input %s, spent in %s", op, txid)
Log.Debugf("Found input %s, spent in %s", op, txid)
// Construct the spend details.
details := &SpendDetail{