From 8184ecc865ff19d08ba0541a396d6c55f63b1b7f Mon Sep 17 00:00:00 2001 From: Hendrik Ebbers Date: Mon, 13 Jan 2025 13:42:53 +0100 Subject: [PATCH] Update hiero-enterprise-base/src/main/java/com/openelements/hiero/base/implementation/AccountClientImpl.java --- .../hiero/base/implementation/AccountClientImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hiero-enterprise-base/src/main/java/com/openelements/hiero/base/implementation/AccountClientImpl.java b/hiero-enterprise-base/src/main/java/com/openelements/hiero/base/implementation/AccountClientImpl.java index cff23c5..2031bc2 100644 --- a/hiero-enterprise-base/src/main/java/com/openelements/hiero/base/implementation/AccountClientImpl.java +++ b/hiero-enterprise-base/src/main/java/com/openelements/hiero/base/implementation/AccountClientImpl.java @@ -37,7 +37,7 @@ public Account createAccount(@NonNull Hbar initialBalance) throws HieroException final AccountCreateResult result = client.executeAccountCreateTransaction(request); return result.newAccount(); } catch (IllegalArgumentException e) { - throw new HieroException("Invalid initial balance: " + e.getMessage(), e); + throw new HieroException("Error while creating Account", e); } }