mirror of
https://github.com/Qortal/altcoinj.git
synced 2025-11-14 03:17:19 +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.
|
// Do the keys.
|
||||||
builder.append("\nKeys:\n");
|
builder.append("\nKeys:\n");
|
||||||
final long keyRotationTime = vKeyRotationTimestamp * 1000;
|
builder.append("Earliest creation time: ").append(Utils.dateTimeFormat(getEarliestKeyCreationTime() * 1000))
|
||||||
if (keyRotationTime > 0)
|
.append('\n');
|
||||||
builder.append(String.format(Locale.US, "Key rotation time: %s\n", Utils.dateTimeFormat(keyRotationTime)));
|
final Date keyRotationTime = getKeyRotationTime();
|
||||||
|
if (keyRotationTime != null)
|
||||||
|
builder.append("Key rotation time: ").append(Utils.dateTimeFormat(keyRotationTime)).append('\n');
|
||||||
builder.append(keychain.toString(includePrivateKeys));
|
builder.append(keychain.toString(includePrivateKeys));
|
||||||
|
|
||||||
if (!watchedScripts.isEmpty()) {
|
if (!watchedScripts.isEmpty()) {
|
||||||
|
|||||||
Reference in New Issue
Block a user