From cabcb915926008f2d22a796b3d9d954a6c41ad90 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thoralf=20M=C3=BCller?= Date: Wed, 20 Mar 2024 15:32:28 +0100 Subject: [PATCH] Use is_implicit_account_creation() --- sdk/src/wallet/operations/balance.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sdk/src/wallet/operations/balance.rs b/sdk/src/wallet/operations/balance.rs index bc6a208788..702918acba 100644 --- a/sdk/src/wallet/operations/balance.rs +++ b/sdk/src/wallet/operations/balance.rs @@ -138,7 +138,7 @@ impl Wallet { // Add amount balance.base_coin.total += output.amount(); - if address_unlock_cond.address().kind() == ImplicitAccountCreationAddress::KIND { + if address_unlock_cond.address().is_implicit_account_creation() { locked_amount += output.amount(); } // Add decayed mana