blockchain_import: fix build after tx_pool::add_tx changes

This commit is contained in:
moneromooo-monero 2017-01-15 21:52:56 +00:00
parent b2e1568335
commit 6da9335a9e
No known key found for this signature in database
GPG key ID: 686F07454D6CEFC3

View file

@ -472,7 +472,7 @@ int import_from_file(FakeCore& simple_core, const std::string& import_file_path,
uint8_t version = simple_core.m_storage.get_current_hard_fork_version();
tx_verification_context tvc = AUTO_VAL_INIT(tvc);
bool r = true;
r = simple_core.m_pool.add_tx(tx, tvc, true, true, version);
r = simple_core.m_pool.add_tx(tx, tvc, true, true, false, version);
if (!r)
{
LOG_PRINT_RED_L0("failed to add transaction to transaction pool, height=" << h <<", tx_num=" << tx_num);