aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2017-01-21 21:51:07 +0000
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2017-01-21 21:51:07 +0000
commitf9293b69d869975f1037e263616884bce48ff8b5 (patch)
tree5b83b787da75e4ad86117314820be20f3d357974 /tests
parentMerge pull request #1585 (diff)
downloadmonero-f9293b69d869975f1037e263616884bce48ff8b5.tar.xz
unit_tests: fix missing return after batch_start prototype change
Diffstat (limited to 'tests')
-rw-r--r--tests/unit_tests/hardfork.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/unit_tests/hardfork.cpp b/tests/unit_tests/hardfork.cpp
index be17f01ad..2682f15d3 100644
--- a/tests/unit_tests/hardfork.cpp
+++ b/tests/unit_tests/hardfork.cpp
@@ -51,7 +51,7 @@ public:
virtual std::string get_db_name() const { return std::string(); }
virtual bool lock() { return true; }
virtual void unlock() { }
- virtual bool batch_start(uint64_t batch_num_blocks=0) {}
+ virtual bool batch_start(uint64_t batch_num_blocks=0) { return true; }
virtual void batch_stop() {}
virtual void set_batch_transactions(bool) {}
virtual void block_txn_start(bool readonly=false) {}