aboutsummaryrefslogtreecommitdiff
path: root/src/blockencodings.cpp
diff options
context:
space:
mode:
authorfsb4000 <fsb4000@yandex.ru>2016-11-28 15:19:05 +0700
committerfsb4000 <fsb4000@yandex.ru>2016-11-28 16:16:37 +0700
commit15fa95d7e576041a20d47907356a2be5a327b4ca (patch)
tree2456ea0d0cb68365b149524b4876d9b1b4828c37 /src/blockencodings.cpp
parentc4522e71c7e1d8ecfd70112e9375b9d00d6733a8 (diff)
downloadbitcoin-15fa95d7e576041a20d47907356a2be5a327b4ca.tar.xz
Fix some typos
Diffstat (limited to 'src/blockencodings.cpp')
-rw-r--r--src/blockencodings.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/blockencodings.cpp b/src/blockencodings.cpp
index f14ae1c412..2efeda9cc6 100644
--- a/src/blockencodings.cpp
+++ b/src/blockencodings.cpp
@@ -62,7 +62,7 @@ ReadStatus PartiallyDownloadedBlock::InitData(const CBlockHeaderAndShortTxIDs& c
if (cmpctblock.prefilledtxn[i].tx->IsNull())
return READ_STATUS_INVALID;
- lastprefilledindex += cmpctblock.prefilledtxn[i].index + 1; //index is a uint16_t, so cant overflow here
+ lastprefilledindex += cmpctblock.prefilledtxn[i].index + 1; //index is a uint16_t, so can't overflow here
if (lastprefilledindex > std::numeric_limits<uint16_t>::max())
return READ_STATUS_INVALID;
if ((uint32_t)lastprefilledindex > cmpctblock.shorttxids.size() + i) {