mirror of
https://github.com/bitcoin-s/bitcoin-s.git
synced 2025-03-26 21:42:48 +01:00
Improve tx processing log to show when we have a relevant input/output to the wallet (#4172)
This commit is contained in:
parent
aeb3169884
commit
1072078d7c
1 changed files with 5 additions and 2 deletions
|
@ -44,8 +44,11 @@ private[bitcoins] trait TransactionProcessing extends WalletLogger {
|
|||
receivedSpendingInfoDbsOpt = None,
|
||||
spentSpendingInfoDbsOpt = None)
|
||||
} yield {
|
||||
logger.debug(
|
||||
s"Finished processing of transaction=${transaction.txIdBE.hex}. Relevant incomingTXOs=${result.updatedIncoming.length}, outgoingTXOs=${result.updatedOutgoing.length}")
|
||||
if (result.updatedIncoming.nonEmpty || result.updatedOutgoing.nonEmpty) {
|
||||
logger.info(
|
||||
s"Finished processing of transaction=${transaction.txIdBE.hex}. Relevant incomingTXOs=${result.updatedIncoming.length}, outgoingTXOs=${result.updatedOutgoing.length}")
|
||||
|
||||
}
|
||||
this
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue