mirror of
https://git.wownero.com/wownero/wownero.git
synced 2025-01-08 03:18:53 +00:00
update genesis block timestamp date
This commit is contained in:
parent
90e116ea3d
commit
8d5032a39f
@ -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 top_block_timestamp = m_db->get_top_block_timestamp();
|
||||||
uint64_t timestamp_diff = time(NULL) - 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)
|
if(!top_block_timestamp)
|
||||||
timestamp_diff = time(NULL) - 1397818133;
|
timestamp_diff = time(NULL) - 1522624244;
|
||||||
|
|
||||||
// create general purpose async service queue
|
// create general purpose async service queue
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user