Skip to content

BIP66 comment typo fix#528

Closed
comboy wants to merge 1 commit intobitcoin:masterfrom
comboy:bip66-typo-fix
Closed

BIP66 comment typo fix#528
comboy wants to merge 1 commit intobitcoin:masterfrom
comboy:bip66-typo-fix

Conversation

@comboy
Copy link
Copy Markdown
Contributor

@comboy comboy commented Apr 30, 2017

I've been triple checking it, since I'm surprised it would stay there for so long unnoticed, but I've become pretty convinced there's a typo in that comment.

(sorry about the separate PR, didn't notice it when I was fixing the dead link)

@sipa
Copy link
Copy Markdown
Member

sipa commented Apr 30, 2017

@comboy No, this is incorrect. The S element has a length descriptor, which follows the R element. This line is checking that that length descriptor is not outside the data array.

@luke-jr luke-jr closed this Apr 30, 2017
@comboy
Copy link
Copy Markdown
Contributor Author

comboy commented Apr 30, 2017

Ah, not the length of the S element itself but the length byte, right, sorry about that.

@comboy comboy deleted the bip66-typo-fix branch April 30, 2017 23:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants