diff options
author | Wladimir J. van der Laan <laanwj@gmail.com> | 2017-10-10 08:56:08 +0200 |
---|---|---|
committer | Wladimir J. van der Laan <laanwj@gmail.com> | 2017-10-10 09:00:34 +0200 |
commit | 5a9da37fb3f4b53f556e1d46509b94dc3c661d75 (patch) | |
tree | 8cdf8055ad878c416f5730066a505f5176ccb335 | |
parent | e022463a4b238750476430d08b45bc9171791e6f (diff) | |
parent | f902e40c76d25eb9d32994f4844db6059f0f55ab (diff) |
Merge #11469: fix typo in comment of chain.cpp
f902e40 fix typo in comment of chain.cpp (Johannes Kanig)
Pull request description:
Tree-SHA512: 1af049bd75f244febc2c249f7b743b481ed6ce935f1f5265881f57064d69e0f055b9334dae765132348125a5e688f99b07a255de7deacf37ac57d1e6966b5e4b
-rw-r--r-- | src/chain.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/chain.cpp b/src/chain.cpp index 47acde882e..5e3dd9b31b 100644 --- a/src/chain.cpp +++ b/src/chain.cpp @@ -128,7 +128,7 @@ arith_uint256 GetBlockProof(const CBlockIndex& block) // We need to compute 2**256 / (bnTarget+1), but we can't represent 2**256 // as it's too large for an arith_uint256. However, as 2**256 is at least as large // as bnTarget+1, it is equal to ((2**256 - bnTarget - 1) / (bnTarget+1)) + 1, - // or ~bnTarget / (nTarget+1) + 1. + // or ~bnTarget / (bnTarget+1) + 1. return (~bnTarget / (bnTarget + 1)) + 1; } |