aboutsummaryrefslogtreecommitdiff
path: root/tests/cryptotest.pl
diff options
context:
space:
mode:
authorJean Pierre Dudey <jeandudey@hotmail.com>2018-02-13 20:51:37 -0400
committerstoffu <stoffu@protonmail.ch>2018-03-05 11:19:01 +0900
commit9f9e095a8c6c50c04b110f11d69f14b91e94233c (patch)
treede682deef04c1456d6cdbf619789f286d4e76431 /tests/cryptotest.pl
parentMerge pull request #3303 (diff)
downloadmonero-9f9e095a8c6c50c04b110f11d69f14b91e94233c.tar.xz
Use `genesis_tx` parameter in `generate_genesis_block`. #3261
* src/cryptnote_config.h: The constant `config::testnet::GENESIS_TX` was changed to be the same as `config::GENESIS_TX` (the mainnet's transaction) because the mainnet's transaction was being used for both networks. * src/cryptonote_core/cryptonote_tx_utils.cpp: The `generate_genesis_block` function was ignoring the `genesis_tx` parameter, and instead it was using the `config::GENESIS_TX` constant. That's why the testnet genesis transaction was changed. Also five lines of unused code were removed. Signed-off-by: Jean Pierre Dudey <jeandudey@hotmail.com>
Diffstat (limited to 'tests/cryptotest.pl')
0 files changed, 0 insertions, 0 deletions