mirror of
https://github.com/Qortal/altcoinj.git
synced 2025-01-31 07:12:17 +00:00
Add creationTimeSeconds to wallet dump.
This commit is contained in:
parent
3d7d649827
commit
1fae7cadc9
@ -1204,6 +1204,8 @@ public class ECKey implements EncryptableItem, Serializable {
|
||||
builder.append(address.toString());
|
||||
builder.append(" hash160:");
|
||||
builder.append(Utils.HEX.encode(getPubKeyHash()));
|
||||
if (creationTimeSeconds > 0)
|
||||
builder.append(" creationTimeSeconds:").append(creationTimeSeconds);
|
||||
builder.append("\n");
|
||||
if (includePrivateKeys) {
|
||||
builder.append(" ");
|
||||
|
@ -244,6 +244,8 @@ public class MarriedKeyChain extends DeterministicKeyChain {
|
||||
builder.append(script.getToAddress(params));
|
||||
builder.append(" hash160:");
|
||||
builder.append(Utils.HEX.encode(script.getPubKeyHash()));
|
||||
if (script.getCreationTimeSeconds() > 0)
|
||||
builder.append(" creationTimeSeconds:").append(script.getCreationTimeSeconds());
|
||||
builder.append("\n");
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user