Commit 53d2d562 authored by Andreas Schildbach's avatar Andreas Schildbach

Transaction: Print locktime estimation properly formatted.

parent f9a0fb2a
......@@ -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));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment