mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-01-25 02:33:24 -03:00
fuzz: Use BasicTestingSetup for coins_view target
This commit is contained in:
parent
9e2a723d5d
commit
f46b220256
1 changed files with 1 additions and 3 deletions
|
@ -27,7 +27,6 @@
|
|||
#include <vector>
|
||||
|
||||
namespace {
|
||||
const TestingSetup* g_setup;
|
||||
const Coin EMPTY_COIN{};
|
||||
|
||||
bool operator==(const Coin& a, const Coin& b)
|
||||
|
@ -39,8 +38,7 @@ bool operator==(const Coin& a, const Coin& b)
|
|||
|
||||
void initialize_coins_view()
|
||||
{
|
||||
static const auto testing_setup = MakeNoLogFileContext<const TestingSetup>();
|
||||
g_setup = testing_setup.get();
|
||||
static const auto testing_setup = MakeNoLogFileContext<>();
|
||||
}
|
||||
|
||||
FUZZ_TARGET(coins_view, .init = initialize_coins_view)
|
||||
|
|
Loading…
Add table
Reference in a new issue