simplewallet: fix "outputs in same tx" detector

It was comparing source txids, but txids were empty,
so all checks triggered
pull/235/head
moneromooo-monero 4 years ago
parent 411f1b0ee3
commit f1d379d27d
No known key found for this signature in database
GPG Key ID: 686F07454D6CEFC3

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

Loading…
Cancel
Save