forked from lthn/blockchain
wallet2: auditable wallets won't be requesting decoys for PoS anymore as they couldn't be used
This commit is contained in:
parent
1f0faf2c8e
commit
ee89a6ce12
1 changed files with 1 additions and 1 deletions
|
|
@ -3512,7 +3512,7 @@ bool wallet2::prepare_and_sign_pos_block(const currency::pos_entry& pe, currency
|
|||
COMMAND_RPC_GET_RANDOM_OUTPUTS_FOR_AMOUNTS::response decoys_resp = AUTO_VAL_INIT(decoys_resp);
|
||||
std::vector<const crypto::public_key*> ring;
|
||||
uint64_t secret_index = 0; // index of the real stake output
|
||||
if (m_required_decoys_count > 0)
|
||||
if (m_required_decoys_count > 0 && !is_auditable())
|
||||
{
|
||||
COMMAND_RPC_GET_RANDOM_OUTPUTS_FOR_AMOUNTS::request decoys_req = AUTO_VAL_INIT(decoys_req);
|
||||
decoys_req.use_forced_mix_outs = false;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue