aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRiccardo Spagni <ric@spagni.net>2017-06-18 17:33:57 +0200
committerRiccardo Spagni <ric@spagni.net>2017-06-18 17:33:57 +0200
commit973daf853b98b18bb66a5aa6f6469b7b23d2ef3e (patch)
tree9c8ffbccf7338c4eae5b45fc39f3a550e860195e
parentMerge pull request #2078 (diff)
parentcore_tests: fix tests failing due to new txpool code requitring batch transac... (diff)
downloadmonero-973daf853b98b18bb66a5aa6f6469b7b23d2ef3e.tar.xz
Merge pull request #2079
c3bec61d core_tests: fix tests failing due to new txpool code requitring batch transactions (moneromooo-monero)
-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;