Skip to content

Commit

Permalink
static counter (#23)
Browse files Browse the repository at this point in the history
Signed-off-by: Alexey Chernyshov <[email protected]>
  • Loading branch information
Alexey-N-Chernyshov authored and Warchant committed Apr 29, 2019
1 parent 7fa71be commit b06b1e7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ public QueryAPI(IrohaAPI api, Account account) {
this.keyPair = account.getKeyPair();
}

private AtomicInteger counter = new AtomicInteger(1);
private static AtomicInteger counter = new AtomicInteger(1);

private void checkErrorResponse(QueryResponse response) {
if (response.hasErrorResponse()) {
Expand Down

0 comments on commit b06b1e7

Please sign in to comment.