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
No known key found for this signature in database
GPG Key ID: 686F07454D6CEFC3
1 changed files with 1 additions and 0 deletions

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;