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
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");
return false;
}
c.get_blockchain_storage().get_db().set_batch_transactions(true);
// start with a clean pool
std::vector<crypto::hash> pool_txs;