mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-13 12:33:42 +02:00
blockheader: make implicit cast explicit in GetHash
This commit is contained in:
parent
21cd3e384e
commit
1cb55cbd9d
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue