aboutsummaryrefslogtreecommitdiff
path: root/src/uint256.cpp
diff options
context:
space:
mode:
authorPavel Janík <Pavel@Janik.cz>2014-11-25 18:54:36 +0100
committerWladimir J. van der Laan <laanwj@gmail.com>2014-12-16 11:24:43 +0100
commitbf7835c2713e9cc8356cd1a32bf99c40e222773b (patch)
tree3d3eb79b43e030bb312e2c1357cdf320186a3673 /src/uint256.cpp
parent2f2d3370ccec7226da83c738bca2f38dbafd403c (diff)
Fix small typos in comments and error messages
Rebased-From: 67b2d819cdf6181e7f016e5366ce7479830893bd Github-Pull: #5404
Diffstat (limited to 'src/uint256.cpp')
-rw-r--r--src/uint256.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/uint256.cpp b/src/uint256.cpp
index 79406f2475..9ac886f815 100644
--- a/src/uint256.cpp
+++ b/src/uint256.cpp
@@ -99,7 +99,7 @@ base_uint<BITS>& base_uint<BITS>::operator/=(const base_uint& b)
if (div_bits > num_bits) // the result is certainly 0.
return *this;
int shift = num_bits - div_bits;
- div <<= shift; // shift so that div and nun align.
+ div <<= shift; // shift so that div and num align.
while (shift >= 0) {
if (num >= div) {
num -= div;