mirror of
https://github.com/bitcoinj/bitcoinj.git
synced 2025-01-19 05:33:44 +01:00
Wallet: Print earliest key creation time in toString().
This commit is contained in:
parent
660f0b1b24
commit
83d39b187b
@ -3165,9 +3165,11 @@ public class Wallet extends BaseTaggableObject
|
||||
|
||||
// Do the keys.
|
||||
builder.append("\nKeys:\n");
|
||||
builder.append("Earliest creation time: ").append(Utils.dateTimeFormat(getEarliestKeyCreationTime() * 1000))
|
||||
.append('\n');
|
||||
final Date keyRotationTime = getKeyRotationTime();
|
||||
if (keyRotationTime != null)
|
||||
builder.append("Key rotation time: ").append(Utils.dateTimeFormat(keyRotationTime)).append('\n');
|
||||
builder.append("Key rotation time: ").append(Utils.dateTimeFormat(keyRotationTime)).append('\n');
|
||||
builder.append(keyChainGroup.toString(includePrivateKeys));
|
||||
|
||||
if (!watchedScripts.isEmpty()) {
|
||||
|
Loading…
Reference in New Issue
Block a user