aboutsummaryrefslogtreecommitdiff
path: root/src/blockchain_utilities
diff options
context:
space:
mode:
authorRiccardo Spagni <ric@spagni.net>2015-11-21 13:04:56 +0200
committerRiccardo Spagni <ric@spagni.net>2015-11-21 13:05:01 +0200
commit830904ca4efeb49c87af246a975bc307e2d5f777 (patch)
tree70c92777fc82a486b459d89dac53bdfd4bbbc377 /src/blockchain_utilities
parentMerge pull request #490 (diff)
parentRelay transactions when they linger too long in the pool (diff)
downloadmonero-830904ca4efeb49c87af246a975bc307e2d5f777.tar.xz
Merge pull request #492
932994c Relay transactions when they linger too long in the pool (moneromooo-monero)
Diffstat (limited to 'src/blockchain_utilities')
-rw-r--r--src/blockchain_utilities/blockchain_import.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/blockchain_utilities/blockchain_import.cpp b/src/blockchain_utilities/blockchain_import.cpp
index 88d748411..26bbbec8b 100644
--- a/src/blockchain_utilities/blockchain_import.cpp
+++ b/src/blockchain_utilities/blockchain_import.cpp
@@ -401,7 +401,7 @@ int import_from_file(FakeCore& simple_core, const std::string& import_file_path,
// get_transaction_hash(tx, hsh, blob_size);
tx_verification_context tvc = AUTO_VAL_INIT(tvc);
bool r = true;
- r = simple_core.m_pool.add_tx(tx, tvc, true);
+ r = simple_core.m_pool.add_tx(tx, tvc, true, true);
if (!r)
{
LOG_PRINT_RED_L0("failed to add transaction to transaction pool, height=" << h <<", tx_num=" << tx_num);