blockchain_import: fix build after tx_pool::add_tx changes

release-v0.4.0.1
moneromooo-monero 8 years ago
parent b2e1568335
commit 6da9335a9e
No known key found for this signature in database
GPG Key ID: 686F07454D6CEFC3

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

Loading…
Cancel
Save