diff options
author | Anthony Towns <aj@erisian.com.au> | 2023-09-08 05:18:41 +1000 |
---|---|---|
committer | Anthony Towns <aj@erisian.com.au> | 2023-11-14 08:45:32 +1000 |
commit | a0c254c13a3ef21e257cca3493446c632b636b15 (patch) | |
tree | 2d0f34372e33286ca40c846d8782fdc538e55e00 /src/primitives | |
parent | c94f7e5b1cd1ddff2a7d95cfad5a83c9dfa526be (diff) | |
download | bitcoin-a0c254c13a3ef21e257cca3493446c632b636b15.tar.xz |
Drop CHashWriter
Diffstat (limited to 'src/primitives')
-rw-r--r-- | src/primitives/block.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/primitives/block.cpp b/src/primitives/block.cpp index 3d21708820..27da161e1e 100644 --- a/src/primitives/block.cpp +++ b/src/primitives/block.cpp @@ -10,7 +10,7 @@ uint256 CBlockHeader::GetHash() const { - return (CHashWriter{PROTOCOL_VERSION} << *this).GetHash(); + return (HashWriter{} << *this).GetHash(); } std::string CBlock::ToString() const |