g_wallet_ptr
is destructed after the testing_setup
. This is not supported and will lead to issues such as #30221 (comment) or #32409 (comment).
This could be fixed by fixing the initialization order.
However, the global wallet is also modified in the fuzz target, which is bad fuzzing practise.
So instead fix it by constructing a fresh wallet for each fuzz iteration.