aboutsummaryrefslogtreecommitdiff
path: root/src/wallet
diff options
context:
space:
mode:
authorRiccardo Spagni <ric@spagni.net>2016-11-24 12:57:00 +0200
committerRiccardo Spagni <ric@spagni.net>2016-11-24 12:57:00 +0200
commit3fa1b6623a5603e3157cc1c9e38dfdd5a9f0a5d7 (patch)
tree25dff24e23520294492c8d2eeb1fe6019fef6fc6 /src/wallet
parentMerge pull request #1358 (diff)
parentrpc: do not include output indices for pool txes (diff)
downloadmonero-3fa1b6623a5603e3157cc1c9e38dfdd5a9f0a5d7.tar.xz
Merge pull request #1361
1d9e223 rpc: do not include output indices for pool txes (moneromooo-monero) e227d6e rpc: bump version after RPC changes (moneromooo-monero) 2c0173c Add a get_outs (fully text based) version of get_outs.bin (moneromooo-monero) e05907b rpc: add output indices to gettransactions (moneromooo-monero)
Diffstat (limited to 'src/wallet')
-rw-r--r--src/wallet/wallet2.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/wallet/wallet2.cpp b/src/wallet/wallet2.cpp
index e02f3965c..42deb337f 100644
--- a/src/wallet/wallet2.cpp
+++ b/src/wallet/wallet2.cpp
@@ -3361,8 +3361,8 @@ void wallet2::get_outs(std::vector<std::vector<entry>> &outs, const std::list<si
LOG_PRINT_L2("base_requested_outputs_count: " << base_requested_outputs_count);
// generate output indices to request
- COMMAND_RPC_GET_OUTPUTS::request req = AUTO_VAL_INIT(req);
- COMMAND_RPC_GET_OUTPUTS::response daemon_resp = AUTO_VAL_INIT(daemon_resp);
+ COMMAND_RPC_GET_OUTPUTS_BIN::request req = AUTO_VAL_INIT(req);
+ COMMAND_RPC_GET_OUTPUTS_BIN::response daemon_resp = AUTO_VAL_INIT(daemon_resp);
size_t num_selected_transfers = 0;
for(size_t idx: selected_transfers)
@@ -3468,7 +3468,7 @@ void wallet2::get_outs(std::vector<std::vector<entry>> &outs, const std::list<si
// sort the subsection, to ensure the daemon doesn't know wich output is ours
std::sort(req.outputs.begin() + start, req.outputs.end(),
- [](const COMMAND_RPC_GET_OUTPUTS::out &a, const COMMAND_RPC_GET_OUTPUTS::out &b) { return a.index < b.index; });
+ [](const get_outputs_out &a, const get_outputs_out &b) { return a.index < b.index; });
}
for (auto i: req.outputs)