mirror of
https://github.com/bitcoin-s/bitcoin-s.git
synced 2025-03-13 11:35:40 +01:00
Add log for when a new address is generated (#4127)
* Add log for when a new address is generated * Add isChange to the log
This commit is contained in:
parent
5aa46be423
commit
940c66807e
1 changed files with 2 additions and 0 deletions
|
@ -221,6 +221,8 @@ private[wallet] trait AddressHandling extends WalletLogger {
|
|||
_ <-
|
||||
walletCallbacks.executeOnNewAddressGenerated(logger, addressDb.address)
|
||||
} yield {
|
||||
logger.info(
|
||||
s"Generated new address=${addressDb.address} isChange=${addressDb.isChange}")
|
||||
addressDb.address
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue