mirror of
https://github.com/monero-project/monero.git
synced 2024-10-01 11:49:47 -04:00
blockchain_import: fix build after tx_pool::add_tx changes
This commit is contained in:
parent
b2e1568335
commit
6da9335a9e
@ -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();
|
uint8_t version = simple_core.m_storage.get_current_hard_fork_version();
|
||||||
tx_verification_context tvc = AUTO_VAL_INIT(tvc);
|
tx_verification_context tvc = AUTO_VAL_INIT(tvc);
|
||||||
bool r = true;
|
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)
|
if (!r)
|
||||||
{
|
{
|
||||||
LOG_PRINT_RED_L0("failed to add transaction to transaction pool, height=" << h <<", tx_num=" << tx_num);
|
LOG_PRINT_RED_L0("failed to add transaction to transaction pool, height=" << h <<", tx_num=" << tx_num);
|
||||||
|
Loading…
Reference in New Issue
Block a user