-
Notifications
You must be signed in to change notification settings - Fork 0
Double spend test #7
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
Changes from all commits
911ff3f
fd8e9a7
158232c
f1a2b6f
5d7417f
2c71fc7
92a3bf8
4ac55c2
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||
|---|---|---|---|---|
|
|
@@ -52,7 +52,7 @@ public static class Deserializer extends | |||
| @Override | ||||
| public MaskedPredicate deserialize(JsonParser p, DeserializationContext ctx) | ||||
| throws IOException { | ||||
| PredicateType type = null; | ||||
| PredicateType type; | ||||
|
||||
| PredicateType type; |
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -53,7 +53,7 @@ public static class Deserializer extends | |||||
| @Override | ||||||
| public UnmaskedPredicate deserialize(JsonParser p, DeserializationContext ctx) | ||||||
| throws IOException { | ||||||
| PredicateType type = null; | ||||||
| PredicateType type; | ||||||
|
||||||
| PredicateType type; | |
| PredicateType type = null; |
This file was deleted.
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.
When
transactions.size() == 1, this accessestransactions.get(-1)which will throw an IndexOutOfBoundsException. The logic should checktransactions.size() > 1for the previous transaction access.