mirror of
https://codeberg.org/anoncontributorxmr/monero.git
synced 2024-11-11 13:43:29 +01:00
Merge pull request #2527
ba6907f6
core: fix creation of v1 txes (moneromooo-monero)
This commit is contained in:
commit
21c2c08041
@ -320,7 +320,8 @@ namespace cryptonote
|
|||||||
});
|
});
|
||||||
tools::apply_permutation(outs_order, [&] (size_t i0, size_t i1) {
|
tools::apply_permutation(outs_order, [&] (size_t i0, size_t i1) {
|
||||||
std::swap(tx.vout[i0], tx.vout[i1]);
|
std::swap(tx.vout[i0], tx.vout[i1]);
|
||||||
std::swap(amount_keys[i0], amount_keys[i1]);
|
if (!amount_keys.empty())
|
||||||
|
std::swap(amount_keys[i0], amount_keys[i1]);
|
||||||
});
|
});
|
||||||
|
|
||||||
//check money
|
//check money
|
||||||
|
Loading…
Reference in New Issue
Block a user