mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-03-10 15:45:36 +01:00
Note that we can't call `.serialize()` directly in the `.calc_sha256()` method, as this could wrongly lead to the serialization of the derived class (CBlock) if called from an instance there.