Skip to content

Commit

Permalink
Add genesis blocks with timestamp 0
Browse files Browse the repository at this point in the history
  • Loading branch information
pwojcikdev committed Nov 25, 2024
1 parent cdc2d23 commit ca22bdc
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions nano/secure/common.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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<nano::uint128_t>::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,
Expand All @@ -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<nano::uint128_t>::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,
Expand All @@ -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<nano::uint128_t>::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,
Expand All @@ -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<nano::uint128_t>::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,
Expand Down

0 comments on commit ca22bdc

Please sign in to comment.