Skip to content

Commit a6f5dbb

Browse files
committedApr 13, 2025·
Fix up block cons with explicit data_chunk declarations.
1 parent 7ebb4da commit a6f5dbb

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed
 

‎src/settings.cpp

+3-3
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ settings::settings(chain::selection context) NOEXCEPT
7373
{
7474
case chain::selection::mainnet:
7575
{
76-
genesis_block = chain::block(
76+
genesis_block = chain::block(data_chunk
7777
{
7878
0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
7979
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
@@ -169,7 +169,7 @@ settings::settings(chain::selection context) NOEXCEPT
169169

170170
case chain::selection::testnet:
171171
{
172-
genesis_block = chain::block(
172+
genesis_block = chain::block(data_chunk
173173
{
174174
0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
175175
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
@@ -256,7 +256,7 @@ settings::settings(chain::selection context) NOEXCEPT
256256
{
257257
proof_of_work_limit = 0x207fffff;
258258
subsidy_interval_blocks = 150;
259-
genesis_block = chain::block(
259+
genesis_block = chain::block(data_chunk
260260
{
261261
0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
262262
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,

0 commit comments

Comments
 (0)
Please sign in to comment.