diff options
author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2017-01-21 21:51:07 +0000 |
---|---|---|
committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2017-01-21 21:51:07 +0000 |
commit | f9293b69d869975f1037e263616884bce48ff8b5 (patch) | |
tree | 5b83b787da75e4ad86117314820be20f3d357974 | |
parent | Merge pull request #1585 (diff) | |
download | monero-f9293b69d869975f1037e263616884bce48ff8b5.tar.xz |
unit_tests: fix missing return after batch_start prototype change
Diffstat (limited to '')
-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) {} |