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

I don’t understand «scripted-diff: Drop SER_GETHASH»; it changes `!(s.GetType() & SER_GETHASH)` to `s.GetType()`. That means that what used to be the branch for DISK/NETWORK will end up being run just for DISK, and what used to be the branch for GETHASH will end up being run for NETWORK and GETHASH.

Добавить комментарий