mirror of
https://codeberg.org/anoncontributorxmr/monero.git
synced 2024-11-22 23:42:24 +00:00
d0a8362b6b
Some tests assume the first output in a transaction goes to the recipient. However, it can be the change. When it is, the recipient's keys will not recognize this output. To fix this, we send all we have, to ensure there is no change, and the first output goes to the recipient. I'm not sure why this worked with Cryptonote. The tests sent 17 coins, which seems way smaller than the first Bytecoin block reward, so there would have been change too. Maybe outputs were not shuffled originally. |
||
---|---|---|
.. | ||
core_proxy | ||
core_tests | ||
crypto | ||
daemon_tests | ||
data | ||
difficulty | ||
functional_tests | ||
gtest | ||
hash | ||
net_load_tests | ||
performance_tests | ||
unit_tests | ||
CMakeLists.txt | ||
cryptolib.pl | ||
cryptotest.pl | ||
hash-target.cpp | ||
io.h |