mirror of
https://github.com/Qortal/altcoinj.git
synced 2025-08-01 12:31:23 +00:00
Wallet: Print earliest key creation time in toString().
This commit is contained in:
@@ -2778,9 +2778,11 @@ public class Wallet extends BaseTaggableObject implements Serializable, BlockCha
|
||||
|
||||
// Do the keys.
|
||||
builder.append("\nKeys:\n");
|
||||
final long keyRotationTime = vKeyRotationTimestamp * 1000;
|
||||
if (keyRotationTime > 0)
|
||||
builder.append(String.format(Locale.US, "Key rotation time: %s\n", Utils.dateTimeFormat(keyRotationTime)));
|
||||
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(keychain.toString(includePrivateKeys));
|
||||
|
||||
if (!watchedScripts.isEmpty()) {
|
||||
|
Reference in New Issue
Block a user