[bitcoin/bitcoin] scripted-diff: Simplify common case of CHashWriter and drop SER_GETHASH & SerializeHash (#13462)

Empact commented on this pull request.

> @@ -12,7 +12,7 @@

uint256 CBlockHeader::GetHash() const
{
– return SerializeHash(*this);
+ return (CHashWriter(PROTOCOL_VERSION)

This post was last modified on June 13, 2018, 11:01 pm