sweep: remove dead code and add better logging

This commit is contained in:
yyforyongyu
2025-01-24 04:50:08 +08:00
parent 50bc191feb
commit 121116cff7
2 changed files with 10 additions and 16 deletions

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{