diff options
author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2020-09-12 13:34:49 +0000 |
---|---|---|
committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2020-09-12 17:51:41 +0000 |
commit | ef4325fd41eb42a46be2d3d1cd5d836a37abcbf9 (patch) | |
tree | d38e81aec86451d45ea9fabb0fd7d26b171d5b28 /src/wallet/wallet2.h | |
parent | Merge pull request #6111 (diff) | |
download | monero-ef4325fd41eb42a46be2d3d1cd5d836a37abcbf9.tar.xz |
wallet2: fix tx sanity check triggering on pre-rct outputs
Diffstat (limited to 'src/wallet/wallet2.h')
-rw-r--r-- | src/wallet/wallet2.h | 2 |
1 files changed, 1 insertions, 1 deletions
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<std::vector<get_outs_entry>> &outs, const std::vector<size_t> &selected_transfers, size_t fake_outputs_count); + void get_outs(std::vector<std::vector<get_outs_entry>> &outs, const std::vector<size_t> &selected_transfers, size_t fake_outputs_count, bool rct); void get_outs(std::vector<std::vector<get_outs_entry>> &outs, const std::vector<size_t> &selected_transfers, size_t fake_outputs_count, std::vector<uint64_t> &rct_offsets); bool tx_add_fake_output(std::vector<std::vector<tools::wallet2::get_outs_entry>> &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<size_t> &unused_transfers_indices, const std::vector<size_t> &unused_dust_indices) const; |