mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-18 13:17:55 +02:00
doc: correct typos
This commit is contained in:
parent
9fdfb73ca8
commit
726cbee955
5 changed files with 5 additions and 5 deletions
|
|
@ -136,7 +136,7 @@ bool PermittedDifficultyTransition(const Consensus::Params& params, int64_t heig
|
|||
}
|
||||
|
||||
// Bypasses the actual proof of work check during fuzz testing with a simplified validation checking whether
|
||||
// the most signficant bit of the last byte of the hash is set.
|
||||
// the most significant bit of the last byte of the hash is set.
|
||||
bool CheckProofOfWork(uint256 hash, unsigned int nBits, const Consensus::Params& params)
|
||||
{
|
||||
if constexpr (G_FUZZING) return (hash.data()[31] & 0x80) == 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue