diff options
author | Johannes Kanig <kanigsson@users.noreply.github.com> | 2017-10-09 19:14:47 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-10-09 19:14:47 +0200 |
commit | f902e40c76d25eb9d32994f4844db6059f0f55ab (patch) | |
tree | f2697e3d00b16c81bddebe79d71b8abbd2429b8e /src/chain.cpp | |
parent | 3a93270c55876cc88e1a3e2921e582acc6db318e (diff) |
fix typo in comment of chain.cpp
Diffstat (limited to 'src/chain.cpp')
-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; } |