From aa69b87505f8da3f38596a9c86996db95600ca03 Mon Sep 17 00:00:00 2001 From: Duke Date: Fri, 22 Aug 2025 21:21:15 -0400 Subject: [PATCH] These are unrelated to ztxs and should be -debug --- src/txdb.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/txdb.cpp b/src/txdb.cpp index 6a6f7c086..4d402d072 100644 --- a/src/txdb.cpp +++ b/src/txdb.cpp @@ -271,13 +271,13 @@ bool CCoinsViewDB::GetStats(CCoinsStats &stats) const { bool CBlockTreeDB::WriteBatchSync(const std::vector >& fileInfo, int nLastFile, const std::vector& blockinfo) { CDBBatch batch(*this); - if (fZdebug) + if (fDebug) fprintf(stderr, "%s: Writing block files\n", __FUNCTION__); for (const auto& it : fileInfo) { batch.Write(make_pair(DB_BLOCK_FILES, it.first), *it.second); } batch.Write(DB_LAST_BLOCK, nLastFile); - if (fZdebug) + if (fDebug) fprintf(stderr, "%s: Writing block index\n", __FUNCTION__); for (const auto& it : blockinfo) { std::pair key = make_pair(DB_BLOCK_INDEX, it->GetBlockHash());