Skip to content

Commit 790c777

Browse files
authored
Merge pull request #2178 from pythcoiner/bip_68
BIP68: fix wrong upper bound for nHeight
2 parents fae5246 + 6ac8c26 commit 790c777

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

bip-0068.mediawiki

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,7 @@ Additionally, this BIP specifies only 16 bits to actually encode relative lock-t
240240
The most efficient way to calculate sequence number from relative lock-time is with bit masks and shifts:
241241

242242
<pre>
243-
// 0 <= nHeight < 65,535 blocks (1.25 years)
243+
// 0 <= nHeight <= 65,535 blocks (1.25 years)
244244
nSequence = nHeight;
245245
nHeight = nSequence & 0x0000ffff;
246246

0 commit comments

Comments
 (0)