diff --git a/src/zcbenchmarks.cpp b/src/zcbenchmarks.cpp index ee9c4d9b876..b9f0cc68020 100644 --- a/src/zcbenchmarks.cpp +++ b/src/zcbenchmarks.cpp @@ -454,11 +454,9 @@ double benchmark_increment_sapling_note_witnesses(size_t nTxs) // This class is based on the class CCoinsViewDB, but with limited functionality. // The construtor and the functions `GetCoins` and `HaveCoins` come directly from // CCoinsViewDB, but the rest are either mocks and/or don't really do anything. - -// The following constant is a duplicate of the one found in txdb.cpp -static const char DB_COINS = 'c'; - class FakeCoinsViewDB : public CCoinsView { + // The following constant is a duplicate of the one found in txdb.cpp + static const char DB_COINS = 'c'; CDBWrapper db;