aboutsummaryrefslogtreecommitdiff
path: root/tests/core_tests/block_validation.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/core_tests/block_validation.cpp')
-rw-r--r--tests/core_tests/block_validation.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/core_tests/block_validation.cpp b/tests/core_tests/block_validation.cpp
index b9818d2c5..598cd4098 100644
--- a/tests/core_tests/block_validation.cpp
+++ b/tests/core_tests/block_validation.cpp
@@ -38,7 +38,7 @@ namespace
{
bool lift_up_difficulty(std::vector<test_event_entry>& events, std::vector<uint64_t>& timestamps,
std::vector<difficulty_type>& cummulative_difficulties, test_generator& generator,
- size_t new_block_count, const block blk_last, const account_base& miner_account)
+ size_t new_block_count, const block &blk_last, const account_base& miner_account)
{
difficulty_type commulative_diffic = cummulative_difficulties.empty() ? 0 : cummulative_difficulties.back();
block blk_prev = blk_last;