From ca22bdca6ecaa556ab891de1a17c7f1b21baa136 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Piotr=20Wo=CC=81jcik?= <3044353+pwojcikdev@users.noreply.github.com> Date: Mon, 25 Nov 2024 19:38:39 +0100 Subject: [PATCH] Add genesis blocks with timestamp 0 --- nano/secure/common.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/nano/secure/common.cpp b/nano/secure/common.cpp index 6b40c90b2f..5948826225 100644 --- a/nano/secure/common.cpp +++ b/nano/secure/common.cpp @@ -143,7 +143,7 @@ nano::ledger_constants::ledger_constants (nano::work_thresholds & work, nano::ne /* successor (block_hash) */ nano::block_hash{ 0 }, /* balance (amount) */ nano::amount{ std::numeric_limits::max () }, /* height */ uint64_t{ 1 }, - /* local_timestamp */ nano::seconds_since_epoch (), + /* local_timestamp */ 0, /* epoch */ nano::epoch::epoch_0, /* is_send */ false, /* is_receive */ false, @@ -155,7 +155,7 @@ nano::ledger_constants::ledger_constants (nano::work_thresholds & work, nano::ne /* successor (block_hash) */ nano::block_hash{ 0 }, /* balance (amount) */ nano::amount{ std::numeric_limits::max () }, /* height */ uint64_t{ 1 }, - /* local_timestamp */ nano::seconds_since_epoch (), + /* local_timestamp */ 0, /* epoch */ nano::epoch::epoch_0, /* is_send */ false, /* is_receive */ false, @@ -167,7 +167,7 @@ nano::ledger_constants::ledger_constants (nano::work_thresholds & work, nano::ne /* successor (block_hash) */ nano::block_hash{ 0 }, /* balance (amount) */ nano::amount{ std::numeric_limits::max () }, /* height */ uint64_t{ 1 }, - /* local_timestamp */ nano::seconds_since_epoch (), + /* local_timestamp */ 0, /* epoch */ nano::epoch::epoch_0, /* is_send */ false, /* is_receive */ false, @@ -179,7 +179,7 @@ nano::ledger_constants::ledger_constants (nano::work_thresholds & work, nano::ne /* successor (block_hash) */ nano::block_hash{ 0 }, /* balance (amount) */ nano::amount{ std::numeric_limits::max () }, /* height */ uint64_t{ 1 }, - /* local_timestamp */ nano::seconds_since_epoch (), + /* local_timestamp */ 0, /* epoch */ nano::epoch::epoch_0, /* is_send */ false, /* is_receive */ false,