mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-01-19 14:53:43 +01:00
doc: correct typos
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user