mirror of
https://codeberg.org/anoncontributorxmr/monero.git
synced 2024-11-23 10:37:37 -07:00
Merge pull request #2533
97cdd4c9
core: undo output sorting (moneromooo-monero)
This commit is contained in:
commit
5f7cddeb53
@ -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 New Issue
Block a user