Coin selection bug in walletconsole. #3505
-
Describe the bug To Reproduce
Expected behavior Screenshots Additional context For the time being, I chanced the id in registry.json for my fork to call it sbch. I was working on some other things when I found this, but here is a patch that includes the fixes. There is also a problem where consolewallet goes into an endless loop of printing prompts when it receives a ctrl-d. I fixed this in CommandExecutor.cpp by checking the result of the call to getline, and breaking the loop when it went false. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Well, after "fixing" this "bug", i noticed that the unit test which makes sure that the behavior I observed is maintained started failing ... so go figure? Sorry about that. Still would not hurt to fix the endless loop on eof. |
Beta Was this translation helpful? Give feedback.
Well, after "fixing" this "bug", i noticed that the unit test which makes sure that the behavior I observed is maintained started failing ... so go figure?
Sorry about that.
Still would not hurt to fix the endless loop on eof.