Replace couldn't by could not
MODIFY
WalletWasabi.Gui/Controls/WalletExplorer/SendTabViewModel.cs
WalletWasabi.Gui/Controls/WalletExplorer/SendTabViewModel.cs
@@ -444,7 +444,7 @@ namespace WalletWasabi.Gui.Controls.WalletExplorer
needsPinWalletInfo = enumRes.FirstOrDefault(x => x.Type == t && x.Path == p);
if (needsPinWalletInfo is null)
{
- return (false, "Couldn't find the hardware wallet you are working with. Did you disconnect it?");
+ return (false, "Could not find the hardware wallet you are working with. Did you disconnect it?");
}
else
{

MODIFY
WalletWasabi.Gui/Tabs/WalletManager/LoadWalletViewModel.cs
WalletWasabi.Gui/Tabs/WalletManager/LoadWalletViewModel.cs
@@ -510,7 +510,7 @@ namespace WalletWasabi.Gui.Tabs.WalletManager
selectedWallet = Wallets.FirstOrDefault(x => x.HardwareWalletInfo.Type == t && x.HardwareWalletInfo.Path == p);
if (selectedWallet is null)
{
- SetValidationMessage("Couldn't find the hardware wallet you are working with. Did you disconnect it?");
+ SetValidationMessage("Could not find the hardware wallet you are working with. Did you disconnect it?");
return null;
}
else

MODIFY
WalletWasabi.Packager/Program.cs
WalletWasabi.Packager/Program.cs
@@ -566,7 +566,7 @@ namespace WalletWasabi.Packager
// Don't open console.
if (!NSubsysUtil.ProcessFile(newExecutablePath))
{
- Console.WriteLine("ERROR: Couldn't remove console from exe.");
+ Console.WriteLine("ERROR: Could not remove console from exe.");
}
// IF IT'S IN ONLYBINARIES MODE DON'T DO ANYTHING FANCY PACKAGING AFTER THIS!!!

MODIFY
WalletWasabi/Io/SafeMutexIoManager.cs
WalletWasabi/Io/SafeMutexIoManager.cs
@@ -107,7 +107,7 @@ namespace WalletWasabi.Io
return true;
}
- // If foo.data and foo.data.old exist, then foo.data should be fine, but again something went wrong, or possibly the file couldn't be deleted.
+ // If foo.data and foo.data.old exist, then foo.data should be fine, but again something went wrong, or possibly the file could not be deleted.
// if (File.Exists(originalPath) && File.Exists(oldPath))
if (originalExists)
{

MODIFY
WalletWasabi/Nito/AsyncEx/AsyncMutex.cs
WalletWasabi/Nito/AsyncEx/AsyncMutex.cs
@@ -341,7 +341,7 @@ namespace Nito.AsyncEx
// Release the local lock.
AsyncLock.ReleaseLock();
- throw new IOException($"Couldn't acquire system wide mutex on {ShortName}", inner);
+ throw new IOException($"Could not acquire system wide mutex on {ShortName}", inner);
}
private void StopThread()

MODIFY
WalletWasabi/Services/CcjClient.cs
WalletWasabi/Services/CcjClient.cs
@@ -1080,7 +1080,7 @@ namespace WalletWasabi.Services
}
catch (Exception ex)
{
- Logger.LogError<CcjClient>("Couldn't dequeue all coins. Some coins will likely be banned from mixing.");
+ Logger.LogError<CcjClient>("Could not dequeue all coins. Some coins will likely be banned from mixing.");
if (ex is AggregateException)
{
var aggrEx = ex as AggregateException;

MODIFY
WalletWasabi/Services/WalletService.cs
WalletWasabi/Services/WalletService.cs
@@ -1489,7 +1489,7 @@ namespace WalletWasabi.Services
}
catch (Exception ex)
{
- Logger.LogInfo<WalletService>($"Random node couldn't broadcast transaction. Broadcasting with backend... Reason: {ex.Message}");
+ Logger.LogInfo<WalletService>($"Random node could not broadcast transaction. Broadcasting with backend... Reason: {ex.Message}");
Logger.LogDebug<WalletService>(ex);
using (var client = new WasabiClient(Synchronizer.WasabiClient.TorClient.DestinationUriAction, Synchronizer.WasabiClient.TorClient.TorSocks5EndPoint))

MODIFY
WalletWasabi/Stores/IndexStore.cs
WalletWasabi/Stores/IndexStore.cs
@@ -189,7 +189,7 @@ namespace WalletWasabi.Stores
}
catch (Exception ex)
{
- Logger.LogWarning<IndexStore>($"Backwards compatibility couldn't be ensured. Exception: {ex}");
+ Logger.LogWarning<IndexStore>($"Backwards compatibility could not be ensured. Exception: {ex}");
}
}

MODIFY
WalletWasabi/TorSocks5/Models/Fields/ByteArrayFields/AddrField.cs
WalletWasabi/TorSocks5/Models/Fields/ByteArrayFields/AddrField.cs
@@ -94,7 +94,7 @@ namespace WalletWasabi.TorSocks5.Models.TorSocks5.Fields.ByteArrayFields
}
else
{
- throw new FormatException($"Couldn't parse the {i}. part of {nameof(dstAddr)} to int. Invalid part: {partInt}. Value of {nameof(dstAddr)}: {dstAddr}.");
+ throw new FormatException($"Could not parse the {i}. part of {nameof(dstAddr)} to int. Invalid part: {partInt}. Value of {nameof(dstAddr)}: {dstAddr}.");
}
}
}
@@ -125,7 +125,7 @@ namespace WalletWasabi.TorSocks5.Models.TorSocks5.Fields.ByteArrayFields
}
else
{
- throw new FormatException($"Couldn't read IPv4 or domain name from {nameof(bytes)}. Value: {bytes}.");
+ throw new FormatException($"Could not read IPv4 or domain name from {nameof(bytes)}. Value: {bytes}.");
}
Atyp = atyp;

MODIFY
WalletWasabi/TorSocks5/TorSocks5Client.cs
WalletWasabi/TorSocks5/TorSocks5Client.cs
@@ -98,7 +98,7 @@ namespace WalletWasabi.TorSocks5
catch (Exception ex) when (IsConnectionRefused(ex))
{
throw new ConnectionException(
- $"Couldn't connect to Tor SOCKSPort at {TorSocks5EndPoint.Address}:{TorSocks5EndPoint.Port}. Is Tor running?", ex);
+ $"Could not connect to Tor SOCKSPort at {TorSocks5EndPoint.Address}:{TorSocks5EndPoint.Port}. Is Tor running?", ex);
}
Stream = TcpClient.GetStream();

MODIFY
WalletWasabi/WebClients/Wasabi/ChaumianCoinJoin/AliceClient.cs
WalletWasabi/WebClients/Wasabi/ChaumianCoinJoin/AliceClient.cs
@@ -212,7 +212,7 @@ namespace WalletWasabi.WebClients.Wasabi.ChaumianCoinJoin
}
}
}
- catch (Exception ex) when (ex is OperationCanceledException // If couldn't do it within 3 seconds then it'll likely time out and take it as unconfirmed.
+ catch (Exception ex) when (ex is OperationCanceledException // If could not do it within 3 seconds then it'll likely time out and take it as unconfirmed.
|| ex is TaskCanceledException
|| ex is TimeoutException)
{

Replace couldn't by could not