diff options
Diffstat (limited to 'src/chain.h')
-rw-r--r-- | src/chain.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/chain.h b/src/chain.h index 251471befb..6b2e4367e9 100644 --- a/src/chain.h +++ b/src/chain.h @@ -403,7 +403,7 @@ public: READWRITE(obj.nNonce); } - uint256 GetBlockHash() const + uint256 ConstructBlockHash() const { CBlockHeader block; block.nVersion = nVersion; @@ -415,6 +415,7 @@ public: return block.GetHash(); } + uint256 GetBlockHash() = delete; std::string ToString() = delete; }; |