mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-07-28 13:43:12 +02:00
Two recently added tests (PR #28625 / commit2e31250027
and PR #28634 / commit3bb51c29df
) introduced a bug by wrongly using the `assert_debug_log` helper. Instead of passing the expected debug string in a list as expected, it was passed as bare string, which is then interpretered as a list of characters, very likely leading the debug log assertion pass even if the intended message is not appearing. In order to avoid bugs like this in the future, enforce that the `{un}expected_msgs` parameters are lists.