Skip to content

Commit

Permalink
update beta network header_magic_number to finalize beta network reset (
Browse files Browse the repository at this point in the history
  • Loading branch information
Russel Waters authored and zhyatt committed Aug 23, 2019
1 parent 131884a commit 6f84d60
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nano/secure/common.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ network (network_a), ledger (network), voting (network), node (network), portmap
unsigned constexpr kdf_full_work = 64 * 1024;
unsigned constexpr kdf_test_work = 8;
kdf_work = network.is_test_network () ? kdf_test_work : kdf_full_work;
header_magic_number = network.is_test_network () ? std::array<uint8_t, 2>{ { 'R', 'A' } } : network.is_beta_network () ? std::array<uint8_t, 2>{ { 'R', 'B' } } : std::array<uint8_t, 2>{ { 'R', 'C' } };
header_magic_number = network.is_test_network () ? std::array<uint8_t, 2>{ { 'R', 'A' } } : network.is_beta_network () ? std::array<uint8_t, 2>{ { 'N', 'B' } } : std::array<uint8_t, 2>{ { 'R', 'C' } };
}

nano::ledger_constants::ledger_constants (nano::network_constants & network_constants) :
Expand Down

0 comments on commit 6f84d60

Please sign in to comment.