Skip to content

Commit 6d91a7b

Browse files
authored
Update CreateAccountDemo.java
Signed-off-by: SimiHunjan <simi.hunjan.k@gmail.com>
1 parent 81f69a5 commit 6d91a7b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/examples/java/CreateAccountDemo.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
public class CreateAccountDemo {
77
public static void main(String[] args) throws Exception {
88
// .env-provided
9-
String operatorId = AccountId.fromString(System.getenv("OPERATOR_ID"));
10-
String operatorKey = PrivateKey.fromString(System.getenv("OPERATOR_KEY"));
9+
AccountId operatorId = AccountId.fromString(System.getenv("OPERATOR_ID"));
10+
PrivateKey operatorKey = PrivateKey.fromString(System.getenv("OPERATOR_KEY"));
1111
String network = System.getenv().getOrDefault("HEDERA_NETWORK", "local"); // "local" for Solo
1212
String mirrorNodeUrl = System.getenv().getOrDefault(
1313
"MIRROR_NODE_URL",

0 commit comments

Comments
 (0)