diff options
author | Russell Yanofsky <russ@yanofsky.org> | 2018-01-11 07:56:11 -0500 |
---|---|---|
committer | Russell Yanofsky <russ@yanofsky.org> | 2018-01-11 07:56:11 -0500 |
commit | f765bb37880443061eb5f0a9cd5897e33732182d (patch) | |
tree | c010bd95247585a89099c3d7cab05eaa00c4abc4 /src/univalue/include | |
parent | d889c036cd6f683116e6a27e404be2809d1deb76 (diff) |
Fix ListCoins 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:4199: CTxDestination GetDestinationForKey(const CPubKey&, OutputType): Assertion `false' failed.
unknown location(0): fatal error in "ListCoins": 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/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/univalue/include')
0 files changed, 0 insertions, 0 deletions