diff options
author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2019-06-13 10:43:33 +0000 |
---|---|---|
committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2019-06-19 09:39:16 +0000 |
commit | b2bfcab6182706cd55033ee539f88ce4dd07523b (patch) | |
tree | d1576512a5d2a97bd716ca33679788f35bc2d84f /src/wallet/wallet2.cpp | |
parent | Merge pull request #5641 (diff) | |
download | monero-b2bfcab6182706cd55033ee539f88ce4dd07523b.tar.xz |
wallet2: fix change subaddress mixup when sending pre rct outputs
Diffstat (limited to 'src/wallet/wallet2.cpp')
-rw-r--r-- | src/wallet/wallet2.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/wallet/wallet2.cpp b/src/wallet/wallet2.cpp index 8f3f30da1..5f7fe81c0 100644 --- a/src/wallet/wallet2.cpp +++ b/src/wallet/wallet2.cpp @@ -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; } |