diff options
author | Riccardo Spagni <ric@spagni.net> | 2017-09-25 16:57:07 +0200 |
---|---|---|
committer | Riccardo Spagni <ric@spagni.net> | 2017-09-25 16:57:07 +0200 |
commit | e5a2cdbfad982273316067470654d7e1e1693c1f (patch) | |
tree | fa1cc8dcc7c6a64d7c4ae79169d61c08316db9a1 /tests | |
parent | Merge pull request #2454 (diff) | |
parent | Use actual batch size for resize estimates (diff) | |
download | monero-e5a2cdbfad982273316067470654d7e1e1693c1f.tar.xz |
Merge pull request #2457
d2d8a41c Use actual batch size for resize estimates (Howard Chu)
Diffstat (limited to 'tests')
-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 c30feb461..2b0904224 100644 --- a/tests/unit_tests/hardfork.cpp +++ b/tests/unit_tests/hardfork.cpp @@ -53,7 +53,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) { return true; } + virtual bool batch_start(uint64_t batch_num_blocks=0, uint64_t batch_bytes=0) { return true; } virtual void batch_stop() {} virtual void set_batch_transactions(bool) {} virtual void block_txn_start(bool readonly=false) {} |