diff options
| author | Jean Pierre Dudey <jeandudey@hotmail.com> | 2018-02-13 20:51:37 -0400 |
|---|---|---|
| committer | Jean Pierre Dudey <jeandudey@hotmail.com> | 2018-02-14 16:31:17 -0400 |
| commit | 73ca47243f1ee0e810cf2ff6164fce17b2a5abde (patch) | |
| tree | 5fd227c5664dd5c88bd98c4378325fc4d4ea8c00 /src/cryptonote_basic/miner.cpp | |
| parent | ed67e5c001d50a2eea5fa24dfc58eba0921d525b (diff) | |
| download | monzero-core-73ca47243f1ee0e810cf2ff6164fce17b2a5abde.tar.gz monzero-core-73ca47243f1ee0e810cf2ff6164fce17b2a5abde.tar.xz monzero-core-73ca47243f1ee0e810cf2ff6164fce17b2a5abde.zip | |
Use `genesis_tx` parameter in `generate_genesis_block`.
* 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 'src/cryptonote_basic/miner.cpp')
0 files changed, 0 insertions, 0 deletions
