diff options
| author | Wladimir J. van der Laan <[email protected]> | 2015-02-02 11:55:42 +0100 |
|---|---|---|
| committer | Wladimir J. van der Laan <[email protected]> | 2015-02-02 11:56:23 +0100 |
| commit | a62649731fb1babaedff10b7c0baec4c50c90d60 (patch) | |
| tree | cca272581d2cb6b9bf39283f3e4ab26da032a4fc /src/pow.cpp | |
| parent | Merge pull request #5707 (diff) | |
| parent | Changed pronouns for correctness and inclusivity (diff) | |
| download | discoin-a62649731fb1babaedff10b7c0baec4c50c90d60.tar.xz discoin-a62649731fb1babaedff10b7c0baec4c50c90d60.zip | |
Merge pull request #5731
ee93202 Changed pronouns for correctness and inclusivity (bikinibabe)
1fa89a5 fix _code_ snippet in gitian-building.md (UdjinM6)
34c6181 Fix README link from util.sh -> util.py. (Matt Bogosian)
faf0af4 Suggest --disable-wallet when libdb_cxx headers are missing (Luke Dashjr)
5a809ef depends: fix typos (Michael Ford)
bd2b73b TRIVIAL: fix misleading comment (Vitalii Demianets)
5262fde Remove whitespaces before double colon in errors and logs (Pavel Janík)
3800135 Fix typo (Pavel Janík)
91a9fe0 Fix typo - sentence starts with capital letter (Pavel Janík)
bfc29dc Improve gitian build guide (Michael Ford)
d6bed15 remove sig_canonical.json and sig_noncanonical.json (Manuel Araoz)
8673160 Remove bootstrap.md (Michael Ford)
Diffstat (limited to 'src/pow.cpp')
| -rw-r--r-- | src/pow.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pow.cpp b/src/pow.cpp index 90bbff0a3..e49f0d104 100644 --- a/src/pow.cpp +++ b/src/pow.cpp @@ -89,11 +89,11 @@ bool CheckProofOfWork(uint256 hash, unsigned int nBits) // Check range if (fNegative || bnTarget == 0 || fOverflow || bnTarget > Params().ProofOfWorkLimit()) - return error("CheckProofOfWork() : nBits below minimum work"); + return error("CheckProofOfWork(): nBits below minimum work"); // Check proof of work matches claimed amount if (UintToArith256(hash) > bnTarget) - return error("CheckProofOfWork() : hash doesn't match nBits"); + return error("CheckProofOfWork(): hash doesn't match nBits"); return true; } |