diff --git a/src/db.h b/src/db.h index 717462ff4f1..393978633f3 100644 --- a/src/db.h +++ b/src/db.h @@ -23,8 +23,6 @@ class CDiskBlockIndex; class COutPoint; -struct CBlockLocator; - extern unsigned int nWalletDBUpdated; void ThreadFlushWalletDB(const std::string& strWalletFile); diff --git a/src/primitives/block.h b/src/primitives/block.h index 53fcd104ad1..d77ab162e02 100644 --- a/src/primitives/block.h +++ b/src/primitives/block.h @@ -162,7 +162,7 @@ struct CBlockLocator vHave.clear(); } - bool IsNull() + bool IsNull() const { return vHave.empty(); }