diff options
author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2019-12-02 23:21:45 +0000 |
---|---|---|
committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2019-12-03 18:50:22 +0000 |
commit | f1d379d27d02e5da46b3d23e1335019b178c13c6 (patch) | |
tree | 6bd411cbe492708664622f48291f6e5c6b3576d2 /src | |
parent | Merge pull request #6174 (diff) | |
download | monero-f1d379d27d02e5da46b3d23e1335019b178c13c6.tar.xz |
simplewallet: fix "outputs in same tx" detector
It was comparing source txids, but txids were empty,
so all checks triggered
Diffstat (limited to 'src')
-rw-r--r-- | src/simplewallet/simplewallet.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/simplewallet/simplewallet.cpp b/src/simplewallet/simplewallet.cpp index ea8f6f2f5..b753fa1ed 100644 --- a/src/simplewallet/simplewallet.cpp +++ b/src/simplewallet/simplewallet.cpp @@ -6072,6 +6072,7 @@ bool simple_wallet::print_ring_members(const std::vector<tools::wallet2::pending req.outputs[j].index = absolute_offsets[j]; } COMMAND_RPC_GET_OUTPUTS_BIN::response res = AUTO_VAL_INIT(res); + req.get_txid = true; req.client = cryptonote::make_rpc_payment_signature(m_wallet->get_rpc_client_secret_key()); bool r = m_wallet->invoke_http_bin("/get_outs.bin", req, res); err = interpret_rpc_response(r, res.status); |