diff options
author | Riccardo Spagni <ric@spagni.net> | 2017-01-22 11:47:02 -0500 |
---|---|---|
committer | Riccardo Spagni <ric@spagni.net> | 2017-01-22 11:47:02 -0500 |
commit | 8e79271a19a42f82a6272bb9b60b700a22256d01 (patch) | |
tree | cb3ceb6a2ef7898256ad1a0e9786ead3d02ace43 | |
parent | Merge pull request #1606 (diff) | |
parent | unit_tests: fix missing return after batch_start prototype change (diff) | |
download | monero-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.cpp | 2 |
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) {} |