From ef4325fd41eb42a46be2d3d1cd5d836a37abcbf9 Mon Sep 17 00:00:00 2001 From: moneromooo-monero Date: Sat, 12 Sep 2020 13:34:49 +0000 Subject: wallet2: fix tx sanity check triggering on pre-rct outputs --- src/wallet/wallet2.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/wallet/wallet2.h') diff --git a/src/wallet/wallet2.h b/src/wallet/wallet2.h index 62ed111f1..7f80eaec1 100644 --- a/src/wallet/wallet2.h +++ b/src/wallet/wallet2.h @@ -1605,7 +1605,7 @@ private: void set_unspent(size_t idx); bool is_spent(const transfer_details &td, bool strict = true) const; bool is_spent(size_t idx, bool strict = true) const; - void get_outs(std::vector> &outs, const std::vector &selected_transfers, size_t fake_outputs_count); + void get_outs(std::vector> &outs, const std::vector &selected_transfers, size_t fake_outputs_count, bool rct); void get_outs(std::vector> &outs, const std::vector &selected_transfers, size_t fake_outputs_count, std::vector &rct_offsets); bool tx_add_fake_output(std::vector> &outs, uint64_t global_index, const crypto::public_key& tx_public_key, const rct::key& mask, uint64_t real_index, bool unlocked) const; bool should_pick_a_second_output(bool use_rct, size_t n_transfers, const std::vector &unused_transfers_indices, const std::vector &unused_dust_indices) const; -- cgit v1.2.3