Skip to content

Commit 4d65459

Browse files
authored
Add fix (#33)
Signed-off-by: Bogdan Vaneev <[email protected]>
1 parent 8a16104 commit 4d65459

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

client/src/main/java/jp/co/soramitsu/iroha/java/TransactionBuilder.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -299,7 +299,9 @@ public TransactionBuilder grantPermissions(
299299
String accountId,
300300
Iterable<GrantablePermission> permissions
301301
) {
302-
permissions.forEach(p -> this.grantPermission(accountId, p));
302+
for(GrantablePermission p : permissions) {
303+
this.grantPermission(accountId, p);
304+
}
303305
return this;
304306
}
305307

0 commit comments

Comments
 (0)