[trivial] Fix typos in comments

This commit is contained in:
practicalswift
2017-03-21 19:49:08 +01:00
parent 0c17afcbe7
commit dbf30ff10f
12 changed files with 12 additions and 12 deletions

View File

@@ -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();