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:
parent
f9a0fb2a35
commit
53d2d5625c
@ -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));
|
||||
|
Loading…
x
Reference in New Issue
Block a user