-
Notifications
You must be signed in to change notification settings - Fork 266
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
implicit-integer-sign-change wallet/interfaces.cpp:289:57 #805
Comments
I presume this is easy to fix. I presume it is the change position and not hiding a bug. The fix will probably be to just use |
If the line in question is this one:
I'm not seeing the issue. Yet, we could clean this code by making the |
Self follow-up #807. |
How can I reproduce the issue? I've tried on Ubuntu 22.04 with these configures:
Got a lot of errors on the crypto library:
Tried
|
@pablomartin4btc Make sure to apply the existing suppressions, as explained in the docs.
You can then also change |
Thanks @maflcko, that worked and now I don't get the unwanted errors. I'm sorry I still can't reproduce the issue (on both
Am I missing something else? |
IIRC, my steps were to start with a fresh regtest datadir, mine 101 blocks to a fresh wallet, then create a self-transfer transaction in the GUI. Did you do the same?
The branches are identical (from the commit hash), as it expected in a monotree, so there is no need to check both. |
I think I did but I have been using it for a while. Let me start fresh from scratch as you've well indicated it. |
I've managed to reproduce the issue now, thanks @maflcko! Tested on Ubuntu 22.04 following the steps described above ("... start with a fresh regtest datadir, mine 101 blocks to a fresh wallet, then create a self-transfer transaction in the GUI."). Also got some errors when I generated the 101 blocks - in rpc console run:
|
Nice, so you have reproduced all issues that I fixed in #806 ? |
I was already checking the PR and those issues actually, I got 2/ 3. |
Did you make sure that no change (position) was specified in the GUI window? I don't recall if I had "subtract fee from amount" enabled or not. Maybe try both? |
Yep, "subtract fee from amount" to be ticked was
Finally got the 3/ 3 🙏. I'll review the fix now! |
Is there an existing issue for this?
Current behaviour
Expected behaviour
no sign change
Steps to reproduce
Relevant log output
No response
How did you obtain Bitcoin Core
Compiled from source
What version of Bitcoin Core are you using?
master
Operating system and version
Linux
Machine specifications
No response
The text was updated successfully, but these errors were encountered: