fix enable-debug build DB_COINS undefined

This commit is contained in:
Larry Ruane 2019-03-20 16:29:06 -06:00
parent 59e82c64e9
commit e1df250a0d
1 changed files with 4 additions and 2 deletions

View File

@ -453,9 +453,11 @@ 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;