aboutsummaryrefslogtreecommitdiff
path: root/src/wallet
diff options
context:
space:
mode:
authorstoffu <stoffu@protonmail.ch>2017-09-26 17:45:30 +0900
committerstoffu <stoffu@protonmail.ch>2017-10-03 08:12:28 +0900
commitcbc5508b15e3bdb909bfd5dd8e6536e82323bcda (patch)
treebff63aad5fd89118fbb2a942e04e17a426461c6e /src/wallet
parentMerge pull request #2518 (diff)
downloadmonero-cbc5508b15e3bdb909bfd5dd8e6536e82323bcda.tar.xz
construct_tx_and_get_tx_key: return sorted sources for print_ring_memebrs to work properly
Diffstat (limited to 'src/wallet')
-rw-r--r--src/wallet/wallet2.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wallet/wallet2.cpp b/src/wallet/wallet2.cpp
index 08e1d2a09..847e66755 100644
--- a/src/wallet/wallet2.cpp
+++ b/src/wallet/wallet2.cpp
@@ -3334,7 +3334,7 @@ bool wallet2::sign_tx(unsigned_tx_set &exported_txs, const std::string &signed_f
signed_tx_set signed_txes;
for (size_t n = 0; n < exported_txs.txes.size(); ++n)
{
- const tools::wallet2::tx_construction_data &sd = exported_txs.txes[n];
+ tools::wallet2::tx_construction_data &sd = exported_txs.txes[n];
LOG_PRINT_L1(" " << (n+1) << ": " << sd.sources.size() << " inputs, ring size " << sd.sources[0].outputs.size());
signed_txes.ptx.push_back(pending_tx());
tools::wallet2::pending_tx &ptx = signed_txes.ptx.back();