aboutsummaryrefslogtreecommitdiff
path: root/src/blockchain_utilities/blockchain_import.cpp
diff options
context:
space:
mode:
authorRiccardo Spagni <ric@spagni.net>2017-05-30 21:12:44 +0200
committerRiccardo Spagni <ric@spagni.net>2017-05-30 21:12:44 +0200
commit545e2b003c6a4930e9f18e6d5696c2cd85a5cb22 (patch)
tree3c156bab193a4d1c01ef20a2764b4439f01e3699 /src/blockchain_utilities/blockchain_import.cpp
parentMerge pull request #2015 (diff)
parentMove txpool to the database (diff)
downloadmonero-545e2b003c6a4930e9f18e6d5696c2cd85a5cb22.tar.xz
Merge pull request #1982
b52abd13 Move txpool to the database (moneromooo-monero)
Diffstat (limited to 'src/blockchain_utilities/blockchain_import.cpp')
-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 b2c217ca1..a43e2b4ad 100644
--- a/src/blockchain_utilities/blockchain_import.cpp
+++ b/src/blockchain_utilities/blockchain_import.cpp
@@ -443,7 +443,7 @@ int import_from_file(FakeCore& simple_core, const std::string& import_file_path,
// tx number 1: coinbase tx
// tx number 2 onwards: archived_txs
unsigned int tx_num = 1;
- for (const transaction& tx : archived_txs)
+ for (transaction tx : archived_txs)
{
++tx_num;
// if tx is invalid