mirror of
https://codeberg.org/anoncontributorxmr/monero.git
synced 2024-12-25 22:57:46 +00:00
simplewallet: fix "outputs in same tx" detector
It was comparing source txids, but txids were empty, so all checks triggered
This commit is contained in:
parent
411f1b0ee3
commit
f1d379d27d
1 changed files with 1 additions and 0 deletions
|
@ -6072,6 +6072,7 @@ bool simple_wallet::print_ring_members(const std::vector<tools::wallet2::pending
|
||||||
req.outputs[j].index = absolute_offsets[j];
|
req.outputs[j].index = absolute_offsets[j];
|
||||||
}
|
}
|
||||||
COMMAND_RPC_GET_OUTPUTS_BIN::response res = AUTO_VAL_INIT(res);
|
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());
|
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);
|
bool r = m_wallet->invoke_http_bin("/get_outs.bin", req, res);
|
||||||
err = interpret_rpc_response(r, res.status);
|
err = interpret_rpc_response(r, res.status);
|
||||||
|
|
Loading…
Reference in a new issue