Reported by Hennadii Stepanov https://github.com/bitcoin/bitcoin/pull/22216#issuecomment-859790682
Fixes bitcoin/bitcoin#22227
Reported by Hennadii Stepanov https://github.com/bitcoin/bitcoin/pull/22216#issuecomment-859790682
Fixes bitcoin/bitcoin#22227
Reported by Hennadii Stepanov https://github.com/bitcoin/bitcoin/pull/22216#issuecomment-859790682
Fixes bitcoin/bitcoin#22227
Tests would not catch it because tests initialize context differently than the gui app.
I didn’t catch it because I only tested the gui with bitcoin/bitcoin#22216 and bitcoin/bitcoin#22219 together. They were initially part of the same PR and bitcoin/bitcoin#22219 also fixes this bug a different way.
ACK d7f3b1af21daa93165b3726fee059a55b7727280, tested on Linux Mint 20.1 (Qt 5.12.8).
UPDATE: tested on Windows 10 Pro (20H2, build 19042.1052).
ACK d7f3b1af21daa93165b3726fee059a55b7727280
Tested on macOS 11.3, Qt 5.15.2
master:
0xyz@xyzs-MBP bitcoin % ./src/qt/bitcoin-qt -testnet
1dbus[52399]: Dynamic session lookup supported but failed: launchd did not provide a socket path, verify that org.freedesktop.dbus-session.plist is loaded!
2Assertion failed: ("node.args" && check), function operator(), file wallet/init.cpp, line 127.
3zsh: abort ./src/qt/bitcoin-qt -testnet
pr: Runs and works fine upon manual testing
Tests would not catch it because tests initialize context differently than the gui app.
Is there a way to improve tests so that they initialize in the same way?
Is there a way to improve tests so that they initialize in the same way?
One way would be to make the python tests invoke bitcoin-qt. I believe this kind of already works if you set BITCOIND=qt/bitcoin-qt
, but this isn’t run as part of CI currently