diff options
| author | Riccardo Spagni <ric@spagni.net> | 2019-03-04 21:21:08 +0200 |
|---|---|---|
| committer | Riccardo Spagni <ric@spagni.net> | 2019-03-04 21:21:08 +0200 |
| commit | e1a177f0da175b20cf9a2a84043fb4afa2a02a9b (patch) | |
| tree | 9085b6ef23980f4fe1afc517c1e8e38666a03e45 /src/cryptonote_core | |
| parent | 4466f4504e8bc41d353a6becce0526df8272bc1d (diff) | |
| parent | eec792764dabeed2e728a2a418815ff97d9db4e9 (diff) | |
| download | monzero-core-e1a177f0da175b20cf9a2a84043fb4afa2a02a9b.tar.gz monzero-core-e1a177f0da175b20cf9a2a84043fb4afa2a02a9b.tar.xz monzero-core-e1a177f0da175b20cf9a2a84043fb4afa2a02a9b.zip | |
Merge pull request #5092
eec79276 blockchain: fix default genesis block timestamp (moneromooo-monero)
Diffstat (limited to 'src/cryptonote_core')
| -rw-r--r-- | src/cryptonote_core/blockchain.cpp | 4 |
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 |
