diff options
| author | Russell Yanofsky <[email protected]> | 2018-02-13 11:46:49 -0500 |
|---|---|---|
| committer | Russell Yanofsky <[email protected]> | 2018-02-13 12:29:00 -0500 |
| commit | b7f6002ed5d12b461eb56b768d06f2468cd0c12e (patch) | |
| tree | e38f3d2fe9cd0d51a4d4b3fbbbc8c0ad0ce9a9b2 /src/httpserver.cpp | |
| parent | Merge #12193: RPC: Consistently use UniValue.pushKV instead of push_back(Pair... (diff) | |
| download | discoin-b7f6002ed5d12b461eb56b768d06f2468cd0c12e.tar.xz discoin-b7f6002ed5d12b461eb56b768d06f2468cd0c12e.zip | |
Fix rescan test failure due to unset g_address_type, g_change_type
New global variables were introduced in #11403 and not setting them causes:
test_bitcoin: wallet/wallet.cpp:4259: CTxDestination GetDestinationForKey(const CPubKey&, OutputType): Assertion `false' failed.
unknown location(0): fatal error in "importwallet_rescan": signal: SIGABRT (application abort requested)
It's possible to reproduce the failure reliably by running:
src/test/test_bitcoin --log_level=test_suite --run_test=wallet_tests/importwallet_rescan
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