Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix/cantina fixes #139
Fix/cantina fixes #139
Changes from 29 commits
c7b3d0f
6f86af4
0747d3d
7d2cbb7
7f237b8
07162ce
b8fe78c
e1ddd0e
6a54eb4
d199ff4
aacd37d
2115a82
39bc78b
95dfc94
970d808
8b0b6d2
db5a697
a47720b
fe2df72
ea3c7e2
f8fa433
94a0afc
dbe28dd
884b652
84f0948
d8696cc
0a12d75
a2730fc
1ec9599
b1f51b2
fb1e85b
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I just checked the
SentinelListLib
again. There's a bug in this lib when you callpopAll()
it leaves the list in an uninitialized state instead of an initialized but empty state.You're not using
popAll()
but it's better to fix it and change this check to also ensure thenext
is not thezero
address (uninitialized):There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
would this comment be appropriate then? @MrToph
// Sentinel pointing to itself means the list is empty, so check this after removal
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
just double check above comment. actual fix is done @MrToph
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You can write this instead
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok changing this