3
0
mirror of https://github.com/Qortal/altcoinj.git synced 2025-02-13 10:45:51 +00:00

Transaction: Print locktime estimation properly formatted.

This commit is contained in:
Andreas Schildbach 2016-04-01 21:08:35 +02:00
parent f9a0fb2a35
commit 53d2d5625c

View File

@ -640,8 +640,8 @@ public class Transaction extends ChildMessage {
if (lockTime < LOCKTIME_THRESHOLD) {
s.append("block ").append(lockTime);
if (chain != null) {
s.append(" (estimated to be reached at ").append(chain.estimateBlockTime((int) lockTime).toString())
.append(')');
s.append(" (estimated to be reached at ")
.append(Utils.dateTimeFormat(chain.estimateBlockTime((int) lockTime))).append(')');
}
} else {
s.append(Utils.dateTimeFormat(lockTime * 1000));