From 8d5032a39fd41cd76685d22541ee9c50d5c92e78 Mon Sep 17 00:00:00 2001 From: wowario Date: Wed, 6 Feb 2019 16:35:53 +0300 Subject: [PATCH] update genesis block timestamp date --- src/cryptonote_core/blockchain.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/cryptonote_core/blockchain.cpp b/src/cryptonote_core/blockchain.cpp index 5e212359e..584e75bcd 100644 --- a/src/cryptonote_core/blockchain.cpp +++ b/src/cryptonote_core/blockchain.cpp @@ -392,9 +392,9 @@ bool Blockchain::init(BlockchainDB* db, const network_type nettype, bool offline uint64_t top_block_timestamp = m_db->get_top_block_timestamp(); uint64_t timestamp_diff = time(NULL) - top_block_timestamp; - // genesis block has no timestamp, could probably change it to have timestamp of 1397818133... + // genesis block has no timestamp, could probably change it to have timestamp of 1522624244 (2018-04-01 23:10:44, block 1)... if(!top_block_timestamp) - timestamp_diff = time(NULL) - 1397818133; + timestamp_diff = time(NULL) - 1522624244; // create general purpose async service queue