Merge pull request #2079

c3bec61d core_tests: fix tests failing due to new txpool code requitring batch transactions (moneromooo-monero)
This commit is contained in:
Riccardo Spagni 2017-06-18 17:33:57 +02:00
commit 973daf853b
No known key found for this signature in database
GPG key ID: 55432DF31CCD4FCD

View file

@ -472,6 +472,7 @@ inline bool do_replay_events(std::vector<test_event_entry>& events)
MERROR("Failed to init core"); MERROR("Failed to init core");
return false; return false;
} }
c.get_blockchain_storage().get_db().set_batch_transactions(true);
// start with a clean pool // start with a clean pool
std::vector<crypto::hash> pool_txs; std::vector<crypto::hash> pool_txs;