blockheader: make implicit cast explicit in GetHash

This commit is contained in:
Byron Hambly 2025-08-19 13:18:56 +02:00
parent 21cd3e384e
commit 1cb55cbd9d
No known key found for this signature in database
GPG key ID: DE8F6EA20A661697

View file

@ -29,7 +29,7 @@ uint256 CBlockHeader::GetHash() const
bool is_dyna = false;
int32_t nVersion = this->nVersion;
if (!m_dynafed_params.IsNull()) {
nVersion |= DYNAFED_HF_MASK;
nVersion |= (int32_t)DYNAFED_HF_MASK;
is_dyna = true;
}
s << (nVersion);