aboutsummaryrefslogtreecommitdiff
path: root/src/serialization/list.h
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2017-01-22 15:12:13 +0000
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2017-01-22 15:16:45 +0000
commit20f71527690e8ccb8faeccdca72e1a76431b2cfd (patch)
treec4a7cee9a0b10a802efa702e028f4610b21783d4 /src/serialization/list.h
parentMerge pull request #1585 (diff)
downloadmonero-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 'src/serialization/list.h')
0 files changed, 0 insertions, 0 deletions