aboutsummaryrefslogtreecommitdiff
path: root/src/chain.cpp
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2017-06-22 20:36:16 +0200
committerWladimir J. van der Laan <laanwj@gmail.com>2017-06-22 20:46:37 +0200
commit6bef7ca8bc6a0894875eede7cbb2f28e77e91bd7 (patch)
tree5b210133c46f235eb18c8a1983c2cfd1c49b470a /src/chain.cpp
parent4bc853b50fd9127687eb9e4f3b679dd261a4fa96 (diff)
parent0a5a6b90bc75a8d75fdff71c9b08abe9b0b96b0a (diff)
Merge #10633: doc: Fix various typos
0a5a6b9 Fixed multiple typos (Dimitris Tsapakidis) Tree-SHA512: 57748710bcbc03945b160db5e95bd686a2c64605f25d5e11d8ed9d0e1be3b3bf287a63588dc6eb33d0cef4ff17c765fda7c226d667a357acc539c8fcf2b9bb7e
Diffstat (limited to 'src/chain.cpp')
-rw-r--r--src/chain.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/chain.cpp b/src/chain.cpp
index a5b369c4fc..8d4c4e7dea 100644
--- a/src/chain.cpp
+++ b/src/chain.cpp
@@ -126,7 +126,7 @@ arith_uint256 GetBlockProof(const CBlockIndex& block)
if (fNegative || fOverflow || bnTarget == 0)
return 0;
// We need to compute 2**256 / (bnTarget+1), but we can't represent 2**256
- // as it's too large for a arith_uint256. However, as 2**256 is at least as large
+ // 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.
return (~bnTarget / (bnTarget + 1)) + 1;