diff options
| author | luigi1111 <luigi1111w@gmail.com> | 2019-08-15 17:20:18 -0500 |
|---|---|---|
| committer | luigi1111 <luigi1111w@gmail.com> | 2019-08-15 17:20:18 -0500 |
| commit | 1a259a1c7002ccc0889df7f2b74aab7094465e27 (patch) | |
| tree | c4dadc57c4bdf0fe412a36f9e08d05a725bc60b2 | |
| parent | 739b02ef384c6da6fb5a36655b1b33123ada4ef5 (diff) | |
| parent | b2bfcab6182706cd55033ee539f88ce4dd07523b (diff) | |
| download | monzero-core-1a259a1c7002ccc0889df7f2b74aab7094465e27.tar.gz monzero-core-1a259a1c7002ccc0889df7f2b74aab7094465e27.tar.xz monzero-core-1a259a1c7002ccc0889df7f2b74aab7094465e27.zip | |
Merge pull request #5672
b2bfcab wallet2: fix change subaddress mixup when sending pre rct outputs (moneromooo-monero)
| -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 b2f7c4e1b..23c375924 100644 --- a/src/wallet/wallet2.cpp +++ b/src/wallet/wallet2.cpp @@ -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; } |
