Skip to content

Commit f46b220

Browse files
committed
fuzz: Use BasicTestingSetup for coins_view target
1 parent 9e2a723 commit f46b220

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/test/fuzz/coins_view.cpp

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@
2727
#include <vector>
2828

2929
namespace {
30-
const TestingSetup* g_setup;
3130
const Coin EMPTY_COIN{};
3231

3332
bool operator==(const Coin& a, const Coin& b)
@@ -39,8 +38,7 @@ bool operator==(const Coin& a, const Coin& b)
3938

4039
void initialize_coins_view()
4140
{
42-
static const auto testing_setup = MakeNoLogFileContext<const TestingSetup>();
43-
g_setup = testing_setup.get();
41+
static const auto testing_setup = MakeNoLogFileContext<>();
4442
}
4543

4644
FUZZ_TARGET(coins_view, .init = initialize_coins_view)

0 commit comments

Comments
 (0)