Skip to content

Commit

Permalink
Fix account asset balances iteration.
Browse files Browse the repository at this point in the history
  • Loading branch information
jjos2372 committed Aug 7, 2022
1 parent abd8563 commit dc7f9d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/signumj/entity/response/Account.java
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ public Account(AccountResponse accountResponse) {
AssetBalanceResponse ub = accountResponse.getUnconfirmedAssetBalances()[i];
SignumValue quantity = SignumValue.fromNQT(b.getBalanceQNT());
SignumValue unconfirmedQuantity = SignumValue.fromNQT(ub.getBalanceQNT());
this.assetBalances[i++] = new AssetBalance(id, SignumID.fromLong(b.getAsset()), quantity, unconfirmedQuantity);
this.assetBalances[i] = new AssetBalance(id, SignumID.fromLong(b.getAsset()), quantity, unconfirmedQuantity);
}
}

Expand Down

0 comments on commit dc7f9d5

Please sign in to comment.