From 8d6cef6616a3ccb481f251caf235803f678eb71f Mon Sep 17 00:00:00 2001
From: yahiheb <52379387+yahiheb@users.noreply.github.com>
Date: Tue, 20 Aug 2024 02:00:02 +0100
Subject: [PATCH] Do not display 'locked addresses' in wallet stats (#13329)
---
WalletWasabi.Fluent/Models/Wallets/WalletStatsModel.cs | 2 --
.../Views/Wallets/Advanced/WalletStatsView.axaml | 6 ------
2 files changed, 8 deletions(-)
diff --git a/WalletWasabi.Fluent/Models/Wallets/WalletStatsModel.cs b/WalletWasabi.Fluent/Models/Wallets/WalletStatsModel.cs
index 05b76304a47..9b63a1d5967 100644
--- a/WalletWasabi.Fluent/Models/Wallets/WalletStatsModel.cs
+++ b/WalletWasabi.Fluent/Models/Wallets/WalletStatsModel.cs
@@ -22,7 +22,6 @@ public partial class WalletStatsModel : ReactiveObject, IDisposable
[AutoNotify] private Amount _unconfirmedBalance;
[AutoNotify] private int _generatedKeyCount;
[AutoNotify] private int _generatedCleanKeyCount;
- [AutoNotify] private int _generatedLockedKeyCount;
[AutoNotify] private int _generatedUsedKeyCount;
[AutoNotify] private int _totalTransactionCount;
[AutoNotify] private int _nonCoinjointransactionCount;
@@ -61,7 +60,6 @@ private void Update(IWalletModel walletModel, Wallet wallet)
GeneratedKeyCount = wallet.KeyManager.GetKeys().Count();
GeneratedCleanKeyCount = wallet.KeyManager.GetKeys(KeyState.Clean).Count();
- GeneratedLockedKeyCount = wallet.KeyManager.GetKeys(KeyState.Locked).Count();
GeneratedUsedKeyCount = wallet.KeyManager.GetKeys(KeyState.Used).Count();
var singleCoinjoins =
diff --git a/WalletWasabi.Fluent/Views/Wallets/Advanced/WalletStatsView.axaml b/WalletWasabi.Fluent/Views/Wallets/Advanced/WalletStatsView.axaml
index f834d38cf7b..9c9cd1897dd 100644
--- a/WalletWasabi.Fluent/Views/Wallets/Advanced/WalletStatsView.axaml
+++ b/WalletWasabi.Fluent/Views/Wallets/Advanced/WalletStatsView.axaml
@@ -65,12 +65,6 @@
Content="{Binding Model.GeneratedCleanKeyCount}" />
-
-
-
-