`KeyManager`: Remove `SetLastAccessTimeForNow` and the corresponding getter as they are unused in Fluent project
MODIFY
WalletWasabi/Blockchain/Keys/KeyManager.cs
WalletWasabi/Blockchain/Keys/KeyManager.cs
@@ -609,31 +609,6 @@ namespace WalletWasabi.Blockchain.Keys
BlockchainState.Height = prevHeight;
}
- public void SetLastAccessTimeForNow()
- {
- if (FilePath is { })
- {
- // Set the LastAccessTime.
- new FileInfo(FilePath)
- {
- LastAccessTimeUtc = DateTime.UtcNow
- };
- }
- }
-
- public DateTime GetLastAccessTime()
- {
- if (FilePath is { })
- {
- // Set the LastAccessTime.
- return new FileInfo(FilePath).LastAccessTimeUtc;
- }
- else
- {
- return DateTime.UtcNow;
- }
- }
-
#region BlockchainState
public Height GetBestHeight()

MODIFY
WalletWasabi/Wallets/Wallet.cs
WalletWasabi/Wallets/Wallet.cs
@@ -13,7 +13,6 @@ using WalletWasabi.Blockchain.TransactionBuilding;
using WalletWasabi.Blockchain.TransactionOutputs;
using WalletWasabi.Blockchain.TransactionProcessing;
using WalletWasabi.Blockchain.Transactions;
-using WalletWasabi.CoinJoin.Client.Clients;
using WalletWasabi.CoinJoin.Client.Clients.Queuing;
using WalletWasabi.Helpers;
using WalletWasabi.Logging;
@@ -172,8 +171,6 @@ namespace WalletWasabi.Wallets
State = WalletState.Starting;
InitializingChanged?.Invoke(this, true);
- KeyManager.SetLastAccessTimeForNow();
-
if (!Synchronizer.IsRunning)
{
throw new NotSupportedException($"{nameof(Synchronizer)} is not running.");

`KeyManager`: Remove `SetLastAccessTimeForNow` and the corresponding getter as they are unused in Fluent project