mirror of
https://codeberg.org/anoncontributorxmr/monero.git
synced 2024-12-24 14:17:46 +00:00
Merge pull request #5672
b2bfcab
wallet2: fix change subaddress mixup when sending pre rct outputs (moneromooo-monero)
This commit is contained in:
commit
1a259a1c70
1 changed files with 1 additions and 0 deletions
|
@ -8167,6 +8167,7 @@ void wallet2::transfer_selected(const std::vector<cryptonote::tx_destination_ent
|
|||
if (needed_money < found_money)
|
||||
{
|
||||
change_dts.addr = get_subaddress({subaddr_account, 0});
|
||||
change_dts.is_subaddress = subaddr_account != 0;
|
||||
change_dts.amount = found_money - needed_money;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue