lbrycrd/src/wallet/test
Russell Yanofsky f765bb3788 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.
2018-01-11 07:56:11 -05:00
..
accounting_tests.cpp Increment MIT Licence copyright header year on files modified in 2017 2018-01-03 02:26:56 +09:00
crypto_tests.cpp Increment MIT Licence copyright header year on files modified in 2017 2018-01-03 02:26:56 +09:00
wallet_test_fixture.cpp Merge #11403: SegWit wallet support 2018-01-10 20:55:41 -10:00
wallet_test_fixture.h Increment MIT Licence copyright header year on files modified in 2017 2018-01-03 02:26:56 +09:00
wallet_tests.cpp Fix ListCoins test failure due to unset g_address_type, g_change_type 2018-01-11 07:56:11 -05:00