aboutsummaryrefslogtreecommitdiff
path: root/src/blockencodings.cpp
diff options
context:
space:
mode:
authorfsb4000 <[email protected]>2016-11-28 15:19:05 +0700
committerfsb4000 <[email protected]>2016-11-28 16:16:37 +0700
commit15fa95d7e576041a20d47907356a2be5a327b4ca (patch)
tree2456ea0d0cb68365b149524b4876d9b1b4828c37 /src/blockencodings.cpp
parentMerge #9219: doc: Improve windows build instructions using Linux subsystem (diff)
downloaddiscoin-15fa95d7e576041a20d47907356a2be5a327b4ca.tar.xz
discoin-15fa95d7e576041a20d47907356a2be5a327b4ca.zip
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 f14ae1c41..2efeda9cc 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) {