aboutsummaryrefslogtreecommitdiff
path: root/src/base58.cpp
diff options
context:
space:
mode:
authorpracticalswift <practicalswift@users.noreply.github.com>2017-03-21 19:49:08 +0100
committerpracticalswift <practicalswift@users.noreply.github.com>2017-03-21 19:49:08 +0100
commitdbf30ff10f76d2ab9114b345e8712cba30a8d282 (patch)
tree113b54b12a394382eee95bf40120009b2d143b0a /src/base58.cpp
parent0c17afcbe73ec546bc63aea34639fa0f4ea45c37 (diff)
downloadbitcoin-dbf30ff10f76d2ab9114b345e8712cba30a8d282.tar.xz
[trivial] Fix typos in comments
Diffstat (limited to 'src/base58.cpp')
-rw-r--r--src/base58.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/base58.cpp b/src/base58.cpp
index e2f475bb7f..36b3523692 100644
--- a/src/base58.cpp
+++ b/src/base58.cpp
@@ -134,7 +134,7 @@ bool DecodeBase58Check(const char* psz, std::vector<unsigned char>& vchRet)
vchRet.clear();
return false;
}
- // re-calculate the checksum, insure it matches the included 4-byte checksum
+ // re-calculate the checksum, ensure it matches the included 4-byte checksum
uint256 hash = Hash(vchRet.begin(), vchRet.end() - 4);
if (memcmp(&hash, &vchRet.end()[-4], 4) != 0) {
vchRet.clear();