-
Notifications
You must be signed in to change notification settings - Fork 11
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 stateroot and add test for devnet 7 #77
base: main
Are you sure you want to change the base?
Conversation
Signed-off-by: Karim Taam <[email protected]>
|
@@ -225,7 +225,7 @@ public StemNode<V> replaceLocation(Bytes newLocation) { | |||
Optional.of(newLocation), | |||
stem, | |||
hash, | |||
(Optional<Bytes32>) previous, | |||
Optional.empty(), |
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.
Note: previousHash is missing from the constructor javadoc
Signed-off-by: Karim Taam <[email protected]>
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.
🚢
@@ -160,8 +160,10 @@ private List<Bytes> getStemExtensions() { | |||
int depth = location.size(); | |||
List<Bytes> extensions = new ArrayList<>(); | |||
for (Node<V> childNode : getChildren()) { | |||
if (childNode instanceof StemNode) { | |||
if (childNode instanceof StemNode<V>) { |
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.
nbd, but instanceof doesn't consider generics.
PR description
Fixed Issue(s)