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

Print human readable time when initializing a new block store with a checkpoint.

This commit is contained in:
Andreas Schildbach 2015-08-08 10:44:09 +02:00
parent e978ff4997
commit 7f8a5ed182

View File

@ -228,7 +228,7 @@ public class CheckpointManager {
time -= 86400 * 7;
checkArgument(time > 0);
log.info("Attempting to initialize a new block store with a checkpoint for time {}", time);
log.info("Attempting to initialize a new block store with a checkpoint for time {} ({})", time, Utils.dateTimeFormat(time * 1000));
BufferedInputStream stream = new BufferedInputStream(checkpoints);
CheckpointManager manager = new CheckpointManager(params, stream);