mirror of
https://git.wownero.com/wownero/wownero.git
synced 2024-08-15 01:03:23 +00:00
core: fix creation of v1 txes
This commit is contained in:
parent
85f4b600d2
commit
ba6907f661
1 changed files with 2 additions and 1 deletions
|
@ -320,6 +320,7 @@ 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]);
|
||||||
|
if (!amount_keys.empty())
|
||||||
std::swap(amount_keys[i0], amount_keys[i1]);
|
std::swap(amount_keys[i0], amount_keys[i1]);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue