Skip to content

Commit 616fbc1

Browse files
Update hedera/core-concepts/high-volume-entity-creation.mdx
Co-authored-by: Joseph S. <121976561+jsync-swirlds@users.noreply.github.com> Signed-off-by: krystal <56278409+theekrystallee@users.noreply.github.com>
1 parent 770e783 commit 616fbc1

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

hedera/core-concepts/high-volume-entity-creation.mdx

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,11 @@ AccountCreateTransaction tx = new AccountCreateTransaction()
200200

201201
TransactionResponse response = tx.execute(client);
202202
TransactionReceipt receipt = response.getReceipt(client);
203-
AccountId newAccountId = receipt.accountId;
203+
if (transactionSucceeded(receipt)) {
204+
AccountId newAccountId = receipt.accountId;
205+
206+
System.out.println("Account created: " + newAccountId);
207+
}
204208

205209
System.out.println("Account created: " + newAccountId);
206210
```

0 commit comments

Comments
 (0)