mirror of
https://github.com/monero-project/monero.git
synced 2024-11-18 00:37:43 +00:00
Merge pull request #2533
97cdd4c9
core: undo output sorting (moneromooo-monero)
This commit is contained in:
commit
5f7cddeb53
1 changed files with 2 additions and 0 deletions
|
@ -309,6 +309,7 @@ namespace cryptonote
|
|||
summary_outs_money += dst_entr.amount;
|
||||
}
|
||||
|
||||
#if 0
|
||||
// sort outs by their public key
|
||||
std::vector<size_t> outs_order(tx.vout.size());
|
||||
for (size_t n = 0; n < tx.vout.size(); ++n)
|
||||
|
@ -323,6 +324,7 @@ namespace cryptonote
|
|||
if (!amount_keys.empty())
|
||||
std::swap(amount_keys[i0], amount_keys[i1]);
|
||||
});
|
||||
#endif
|
||||
|
||||
//check money
|
||||
if(summary_outs_money > summary_inputs_money )
|
||||
|
|
Loading…
Reference in a new issue