changed NETWORK_ID and GENESIS_TX for new Salvium networks; fixed genesis_tx calculation for non-mainnet

This commit is contained in:
Some Random Crypto Guy
2024-05-15 12:58:39 +01:00
parent 9f5e18495b
commit aee0f479c1
2 changed files with 12 additions and 10 deletions
+3 -1
View File
@@ -264,7 +264,9 @@ int main(int argc, char const * argv[])
// OS
if (command_line::get_arg(vm, daemon_args::arg_print_genesis_tx))
{
print_genesis_tx_hex(cryptonote::MAINNET);
const bool testnet = command_line::get_arg(vm, cryptonote::arg_testnet_on);
const bool stagenet = command_line::get_arg(vm, cryptonote::arg_stagenet_on);
print_genesis_tx_hex(testnet ? cryptonote::TESTNET : stagenet ? cryptonote::STAGENET : cryptonote::MAINNET);
return 0;
}