diff options
author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2020-08-28 00:13:42 +0000 |
---|---|---|
committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2020-08-28 00:14:04 +0000 |
commit | 4a9bd8f70f53b92212709094e445d7e4954eafbc (patch) | |
tree | d0508b747a0144887c655f047bc814db12dfa845 | |
parent | Merge pull request #6769 (diff) | |
download | monero-4a9bd8f70f53b92212709094e445d7e4954eafbc.tar.xz |
core_tests: remove hardcoded hf version
-rw-r--r-- | tests/core_tests/bulletproofs.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/core_tests/bulletproofs.cpp b/tests/core_tests/bulletproofs.cpp index 44adc42e7..965452e26 100644 --- a/tests/core_tests/bulletproofs.cpp +++ b/tests/core_tests/bulletproofs.cpp @@ -174,7 +174,7 @@ bool gen_bp_tx_validation_base::generate_with(std::vector<test_event_entry>& eve CHECK_AND_ASSERT_MES(generator.construct_block_manually(blk_txes, blk_last, miner_account, test_generator::bf_major_ver | test_generator::bf_minor_ver | test_generator::bf_timestamp | test_generator::bf_tx_hashes | test_generator::bf_hf_version | test_generator::bf_max_outs, hf_version, hf_version, blk_last.timestamp + DIFFICULTY_BLOCKS_ESTIMATE_TIMESPAN * 2, // v2 has blocks twice as long - crypto::hash(), 0, transaction(), starting_rct_tx_hashes, 0, 6, 10), + crypto::hash(), 0, transaction(), starting_rct_tx_hashes, 0, 6, hf_version), false, "Failed to generate block"); if (!valid) DO_CALLBACK(events, "mark_invalid_block"); |