Skip to content

Commit

Permalink
Do not display 'locked addresses' in wallet stats (WalletWasabi#13329)
Browse files Browse the repository at this point in the history
  • Loading branch information
yahiheb authored Aug 20, 2024
1 parent 73b623d commit 8d6cef6
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 8 deletions.
2 changes: 0 additions & 2 deletions WalletWasabi.Fluent/Models/Wallets/WalletStatsModel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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 =
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,12 +65,6 @@
Content="{Binding Model.GeneratedCleanKeyCount}" />
</PreviewItem>
<Separator />
<PreviewItem Label="Number of locked addresses"
CopyableContent="{Binding Model.GeneratedLockedKeyCount}">
<PrivacyContentControl Classes="monoSpaced"
Content="{Binding Model.GeneratedLockedKeyCount}" />
</PreviewItem>
<Separator />
<PreviewItem Label="Number of used addresses"
CopyableContent="{Binding Model.GeneratedUsedKeyCount}">
<PrivacyContentControl Classes="monoSpaced"
Expand Down

0 comments on commit 8d6cef6

Please sign in to comment.