core_tests: fix tests failing due to new txpool code requitring batch transactions

This commit is contained in:
moneromooo-monero
2017-06-09 20:49:59 +01:00
parent e3da0ca828
commit c3bec61da2

View File

@@ -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;