Skip to content

Commit

Permalink
Code review changes
Browse files Browse the repository at this point in the history
Signed-off-by: Nikola Genov <[email protected]>
  • Loading branch information
Nikola Genov authored and ochikov committed Oct 26, 2022
1 parent 54caa92 commit 85871a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/src/main/java/AccountCreateWithHtsExample.java
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ public static void main(String[] args) throws NullPointerException, PrecheckStat

System.out.println("The normal account ID of the given alias: " + accountId);

if (nftOwnerAccountId == accountId)
if (nftOwnerAccountId.equals(accountId))
System.out.println("The NFT owner accountId matches the accountId created with the HTS");
else
System.out.println("The two account IDs does not match");
Expand Down

0 comments on commit 85871a1

Please sign in to comment.