Transaction: format date based time locks correctly.

This commit is contained in:
Mike Hearn
2013-07-24 14:45:42 +02:00
parent 2a635317c3
commit 67f3605570

View File

@@ -571,7 +571,7 @@ public class Transaction extends ChildMessage implements Serializable {
chain.estimateBlockTime((int)lockTime).toString() + ")";
}
} else {
time = new Date(lockTime).toString();
time = new Date(lockTime*1000).toString();
}
s.append(String.format(" time locked until %s%n", time));
}