diff options
author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2019-01-23 22:17:21 +0000 |
---|---|---|
committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2019-01-26 21:39:00 +0000 |
commit | eec792764dabeed2e728a2a418815ff97d9db4e9 (patch) | |
tree | e2f93fd771b7cccda3fcf2745535b0371febcd85 /src | |
parent | Merge pull request #5008 (diff) | |
download | monero-eec792764dabeed2e728a2a418815ff97d9db4e9.tar.xz |
blockchain: fix default genesis block timestamp
Diffstat (limited to 'src')
-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 a108124a8..38e43e543 100644 --- a/src/cryptonote_core/blockchain.cpp +++ b/src/cryptonote_core/blockchain.cpp @@ -433,9 +433,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 |