mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-01-27 03:33:27 -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>
|
#include <vector>
|
||||||
|
|
||||||
namespace {
|
namespace {
|
||||||
const TestingSetup* g_setup;
|
|
||||||
const Coin EMPTY_COIN{};
|
const Coin EMPTY_COIN{};
|
||||||
|
|
||||||
bool operator==(const Coin& a, const Coin& b)
|
bool operator==(const Coin& a, const Coin& b)
|
||||||
|
@ -39,8 +38,7 @@ bool operator==(const Coin& a, const Coin& b)
|
||||||
|
|
||||||
void initialize_coins_view()
|
void initialize_coins_view()
|
||||||
{
|
{
|
||||||
static const auto testing_setup = MakeNoLogFileContext<const TestingSetup>();
|
static const auto testing_setup = MakeNoLogFileContext<>();
|
||||||
g_setup = testing_setup.get();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
FUZZ_TARGET(coins_view, .init = initialize_coins_view)
|
FUZZ_TARGET(coins_view, .init = initialize_coins_view)
|
||||||
|
|
Loading…
Add table
Reference in a new issue