mirror of
https://github.com/gosticks/iota.lib.java.git
synced 2026-10-03 21:16:59 +00:00
Merge pull request #35 from schierlm/patch-1
Fix inverted condition - thx @schierlm
This commit is contained in:
@@ -118,7 +118,7 @@ public class IotaAPI extends IotaAPICore {
|
||||
throw new InvalidSecurityLevelException();
|
||||
}
|
||||
|
||||
start = start != null ? 0 : start;
|
||||
start = start == null ? 0 : start;
|
||||
|
||||
if (start > end || end > (start + 500)) {
|
||||
throw new ArgumentException();
|
||||
|
||||
Reference in New Issue
Block a user