bugfix thx @th0br0

This commit is contained in:
adrianziser
2017-09-29 11:27:25 +02:00
parent fdeb8db51e
commit c29cfa0250
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -4,7 +4,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>org.iota</groupId>
<artifactId>jota</artifactId>
<version>0.9.3-SNAPSHOT</version>
<version>0.9.4-SNAPSHOT</version>
<name>JOTA</name>
<description>JOTA library is a simple Java wrapper around IOTA Node's JSON-REST HTTP interface.</description>
+2 -2
View File
@@ -460,7 +460,7 @@ public class IotaAPI extends IotaAPICore {
int totalBalance = 0;
int i = 0;
for (String balance : balances) {
long thisBalance = Integer.parseInt(balance);
long thisBalance = Long.parseLong(balance);
// If input has balance, add it to confirmedInputs
if (thisBalance > 0) {
@@ -1006,7 +1006,7 @@ public class IotaAPI extends IotaAPICore {
long totalBalance = 0;
for (String balance : balances) {
long thisBalance = Integer.parseInt(balance);
long thisBalance = Long.parseLong(balance);
totalBalance += thisBalance;
}