Merge pull request #35 from schierlm/patch-1

Fix inverted condition - thx @schierlm
This commit is contained in:
adrianziser
2017-09-09 21:36:52 +02:00
committed by GitHub
+1 -1
View File
@@ -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();