mirror of
https://github.com/Qortal/altcoinj.git
synced 2025-02-15 03:35:52 +00:00
Wallet: Log estimated balance after transaction was committed to the wallet and after successful wallet cleanup.
This commit is contained in:
parent
946bfbee16
commit
be1b3f592d
@ -2414,6 +2414,8 @@ public class Wallet extends BaseTaggableObject
|
||||
confidenceChanged.put(tx, TransactionConfidence.Listener.ChangeReason.TYPE);
|
||||
addWalletTransaction(Pool.PENDING, tx);
|
||||
}
|
||||
if (log.isInfoEnabled())
|
||||
log.info("Estimated balance is now: {}", getBalance(BalanceType.ESTIMATED).toFriendlyString());
|
||||
|
||||
// Mark any keys used in the outputs as "used", this allows wallet UI's to auto-advance the current key
|
||||
// they are showing to the user in qr codes etc.
|
||||
@ -3042,6 +3044,8 @@ public class Wallet extends BaseTaggableObject
|
||||
if (dirty) {
|
||||
isConsistentOrThrow();
|
||||
saveLater();
|
||||
if (log.isInfoEnabled())
|
||||
log.info("Estimated balance is now: {}", getBalance(BalanceType.ESTIMATED).toFriendlyString());
|
||||
}
|
||||
} finally {
|
||||
lock.unlock();
|
||||
|
Loading…
x
Reference in New Issue
Block a user