aboutsummaryrefslogtreecommitdiff
path: root/src/cryptonote_core
diff options
context:
space:
mode:
authorRiccardo Spagni <ric@spagni.net>2019-03-05 10:10:57 +0200
committerRiccardo Spagni <ric@spagni.net>2019-03-05 10:10:57 +0200
commit5fb4a9719cb799ae59e04cda0a3d760be969d7e8 (patch)
tree8a7361e525f9e7e45bb04e4f252fd9a1c430d0a7 /src/cryptonote_core
parentMerge pull request #5162 (diff)
parentcheck load_t_from_json return values (diff)
downloadmonero-5fb4a9719cb799ae59e04cda0a3d760be969d7e8.tar.xz
Merge pull request #5101
23abe607 check load_t_from_json return values (moneromooo-monero) e396146a default initialize rpc structures (moneromooo-monero) ef93b099 various: remove unused variables (moneromooo-monero)
Diffstat (limited to 'src/cryptonote_core')
-rw-r--r--src/cryptonote_core/blockchain.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/cryptonote_core/blockchain.cpp b/src/cryptonote_core/blockchain.cpp
index 8fc401851..9f1f376f3 100644
--- a/src/cryptonote_core/blockchain.cpp
+++ b/src/cryptonote_core/blockchain.cpp
@@ -1746,7 +1746,6 @@ bool Blockchain::handle_get_objects(NOTIFY_REQUEST_GET_OBJECTS::request& arg, NO
for (auto& bl: blocks)
{
std::vector<crypto::hash> missed_tx_ids;
- std::vector<cryptonote::blobdata> txs;
rsp.blocks.push_back(block_complete_entry());
block_complete_entry& e = rsp.blocks.back();
@@ -1774,7 +1773,6 @@ bool Blockchain::handle_get_objects(NOTIFY_REQUEST_GET_OBJECTS::request& arg, NO
e.block = std::move(bl.first);
}
//get and pack other transactions, if needed
- std::vector<cryptonote::blobdata> txs;
get_transactions_blobs(arg.txs, rsp.txs, rsp.missed_ids);
m_db->block_txn_stop();