aboutsummaryrefslogtreecommitdiff
path: root/src/httpserver.cpp
diff options
context:
space:
mode:
authorRussell Yanofsky <[email protected]>2018-03-02 14:50:49 -0500
committerRussell Yanofsky <[email protected]>2018-03-02 14:50:49 -0500
commit7ba2d5785251c90c5fea134917a4f53a3f632b9a (patch)
treea3f50ec81e0f8eeb814dc1f588f43c774a480cc5 /src/httpserver.cpp
parentMerge #12182: Remove useless string initializations (diff)
downloaddiscoin-7ba2d5785251c90c5fea134917a4f53a3f632b9a.tar.xz
discoin-7ba2d5785251c90c5fea134917a4f53a3f632b9a.zip
Fix ListCoins test failure due to unset g_wallet_allow_fallback_fee
New global variables were introduced in #11882 and not setting them causes: wallet/test/wallet_tests.cpp(638): error in "ListCoins": check wallet->CreateTransaction({recipient}, wtx, reservekey, fee, changePos, error, dummy) failed wallet/test/wallet_tests.cpp(679): error in "ListCoins": check list.begin()->second.size() == 2 failed [1 != 2] wallet/test/wallet_tests.cpp(686): error in "ListCoins": check available.size() == 2 failed [1 != 2] wallet/test/wallet_tests.cpp(705): error in "ListCoins": check list.begin()->second.size() == 2 failed [1 != 2] It's possible to reproduce the failure reliably by running: src/test/test_bitcoin --log_level=test_suite --run_test=wallet_tests/ListCoins Failures happen nondeterministically because boost test framework doesn't run tests in a specified order, and tests that run previously can set the global variables and mask the bug.
Diffstat (limited to 'src/httpserver.cpp')
0 files changed, 0 insertions, 0 deletions