3
0
mirror of https://github.com/Qortal/altcoinj.git synced 2025-02-07 06:44:16 +00:00

Put the creation timestamp in ECKey toString output.

This commit is contained in:
Mike Hearn 2012-02-10 15:46:12 +01:00
parent 781cb1f8d5
commit 8c2b46ea51

View File

@ -184,6 +184,9 @@ public class ECKey implements Serializable {
if (priv != null) {
b.append(" priv:").append(Utils.bytesToHexString(priv.toByteArray()));
}
if (creationTimeSeconds != 0) {
b.append(" timestamp:" + creationTimeSeconds);
}
return b.toString();
}