Skip to content

Commit f902e40

Browse files
authored
fix typo in comment of chain.cpp
1 parent 3a93270 commit f902e40

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/chain.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ arith_uint256 GetBlockProof(const CBlockIndex& block)
128128
// We need to compute 2**256 / (bnTarget+1), but we can't represent 2**256
129129
// as it's too large for an arith_uint256. However, as 2**256 is at least as large
130130
// as bnTarget+1, it is equal to ((2**256 - bnTarget - 1) / (bnTarget+1)) + 1,
131-
// or ~bnTarget / (nTarget+1) + 1.
131+
// or ~bnTarget / (bnTarget+1) + 1.
132132
return (~bnTarget / (bnTarget + 1)) + 1;
133133
}
134134

0 commit comments

Comments
 (0)