aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRiccardo Spagni <ric@spagni.net>2017-01-22 11:47:02 -0500
committerRiccardo Spagni <ric@spagni.net>2017-01-22 11:47:02 -0500
commit8e79271a19a42f82a6272bb9b60b700a22256d01 (patch)
treecb3ceb6a2ef7898256ad1a0e9786ead3d02ace43
parentMerge pull request #1606 (diff)
parentunit_tests: fix missing return after batch_start prototype change (diff)
downloadmonero-8e79271a19a42f82a6272bb9b60b700a22256d01.tar.xz
Merge pull request #1607
f9293b69 unit_tests: fix missing return after batch_start prototype change (moneromooo-monero)
-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) {}