Skip to content

Commit

Permalink
Use is_implicit_account_creation()
Browse files Browse the repository at this point in the history
  • Loading branch information
Thoralf-M committed Mar 20, 2024
1 parent 87e0c1f commit cabcb91
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sdk/src/wallet/operations/balance.rs
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ impl<S: 'static + SecretManage> Wallet<S> {

// 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
Expand Down

0 comments on commit cabcb91

Please sign in to comment.