mirror of
https://github.com/monero-project/monero.git
synced 2024-12-13 20:06:32 +02:00
wallet2: fix change subaddress mixup when sending pre rct outputs
This commit is contained in:
parent
6335509727
commit
b2bfcab618
@ -8163,6 +8163,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 New Issue
Block a user