aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRiccardo Spagni <ric@spagni.net>2019-03-04 21:21:08 +0200
committerRiccardo Spagni <ric@spagni.net>2019-03-04 21:21:08 +0200
commite1a177f0da175b20cf9a2a84043fb4afa2a02a9b (patch)
tree9085b6ef23980f4fe1afc517c1e8e38666a03e45
parentMerge pull request #5091 (diff)
parentblockchain: fix default genesis block timestamp (diff)
downloadmonero-e1a177f0da175b20cf9a2a84043fb4afa2a02a9b.tar.xz
Merge pull request #5092
eec79276 blockchain: fix default genesis block timestamp (moneromooo-monero)
Diffstat (limited to '')
-rw-r--r--src/cryptonote_core/blockchain.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cryptonote_core/blockchain.cpp b/src/cryptonote_core/blockchain.cpp
index b0dbe1eb5..8fc401851 100644
--- a/src/cryptonote_core/blockchain.cpp
+++ b/src/cryptonote_core/blockchain.cpp
@@ -447,9 +447,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 1341378000...
+ // genesis block has no timestamp, could probably change it to have timestamp of 1397818133...
if(!top_block_timestamp)
- timestamp_diff = time(NULL) - 1341378000;
+ timestamp_diff = time(NULL) - 1397818133;
// create general purpose async service queue