The wallet merges preset (MANUAL) inputs with the automatic coin selection result in spend.cpp. With the mutant applied, the merged result is incorrectly reported as MANUAL instead of the algorithm that actually selected the coins.
The test checks both cases:
- Preset inputs merged into an automatic result should keep the automatic algorithm.
- A
MANUALresult merged with another result should take the algorithm of the other result.
With the mutant applied, both checks fail with manual != bnb.