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:
moneromooo-monero 2019-12-02 23:21:45 +00:00
parent 411f1b0ee3
commit f1d379d27d
No known key found for this signature in database
GPG Key ID: 686F07454D6CEFC3

View File

@ -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);