aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2017-06-09 20:49:59 +0100
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2017-06-09 20:49:59 +0100
commitc3bec61da2845ad7efc478d31f005be204d054c4 (patch)
tree70cfce8173080b117271c697b2b6015e73879fb9
parentMerge pull request #2059 (diff)
downloadmonero-c3bec61da2845ad7efc478d31f005be204d054c4.tar.xz
core_tests: fix tests failing due to new txpool code requitring batch transactions
-rw-r--r--tests/core_tests/chaingen.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/core_tests/chaingen.h b/tests/core_tests/chaingen.h
index add48eebe..7cad04047 100644
--- a/tests/core_tests/chaingen.h
+++ b/tests/core_tests/chaingen.h
@@ -472,6 +472,7 @@ inline bool do_replay_events(std::vector<test_event_entry>& events)
MERROR("Failed to init core");
return false;
}
+ c.get_blockchain_storage().get_db().set_batch_transactions(true);
// start with a clean pool
std::vector<crypto::hash> pool_txs;