diff options
author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2017-01-22 15:12:13 +0000 |
---|---|---|
committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2017-01-22 15:16:45 +0000 |
commit | 20f71527690e8ccb8faeccdca72e1a76431b2cfd (patch) | |
tree | c4a7cee9a0b10a802efa702e028f4610b21783d4 /contrib/epee/src | |
parent | Merge pull request #1585 (diff) | |
download | monero-20f71527690e8ccb8faeccdca72e1a76431b2cfd.tar.xz |
wallet2: fix sending a rct tx with a single output available
This would have tried to send a second output to make the tx
look like the 2/2 ideal, but it would not fail to find one
because picking an output from preferred_inputs priority list
did not remove it from the unused tranfer/dust outputs, so
it would try to send the same output twice.
While there, I also added a check to avoid sending a second
input if it's related to the first. Better 1/2 than linking
inputs, I think.
Diffstat (limited to 'contrib/epee/src')
0 files changed, 0 insertions, 0 deletions