Replace wasn't by was not
MODIFY
WalletWasabi.Gui/Controls/WalletExplorer/SendTabViewModel.cs
WalletWasabi.Gui/Controls/WalletExplorer/SendTabViewModel.cs
@@ -430,7 +430,7 @@ namespace WalletWasabi.Gui.Controls.WalletExplorer
DisplayActionTab();
if (!(result is true))
{
- return (false, "PIN wasn't provided.");
+ return (false, "PIN was not provided.");
}
var maskedPin = pinpad.MaskedPin;

MODIFY
WalletWasabi.Gui/Tabs/WalletManager/LoadWalletViewModel.cs
WalletWasabi.Gui/Tabs/WalletManager/LoadWalletViewModel.cs
@@ -247,7 +247,7 @@ namespace WalletWasabi.Gui.Tabs.WalletManager
}
else
{
- if (SelectedWallet?.HardwareWalletInfo != null && !SelectedWallet.HardwareWalletInfo.Initialized) // If the hardware wallet wasn't initialized, then make the button say Setup, not Load.
+ if (SelectedWallet?.HardwareWalletInfo != null && !SelectedWallet.HardwareWalletInfo.Initialized) // If the hardware wallet was not initialized, then make the button say Setup, not Load.
{
LoadButtonText = "Setup Wallet";
}
@@ -493,7 +493,7 @@ namespace WalletWasabi.Gui.Tabs.WalletManager
var result = await pinpad.ShowDialogAsync();
if (!(result is true))
{
- SetValidationMessage("PIN wasn't provided.");
+ SetValidationMessage("PIN was not provided.");
return null;
}
@@ -551,7 +551,7 @@ namespace WalletWasabi.Gui.Tabs.WalletManager
MainWindowViewModel.Instance.StatusBar.TryRemoveStatus(StatusBarStatus.AcquiringXpubFromHardwareWallet);
}
- Logger.LogInfo<LoadWalletViewModel>("Hardware wallet wasn't used previously on this computer. Creating new wallet file.");
+ Logger.LogInfo<LoadWalletViewModel>("Hardware wallet was not used previously on this computer. Creating new wallet file.");
if (TryFindWalletByExtPubKey(extPubKey, out string wn))
{
@@ -604,7 +604,7 @@ namespace WalletWasabi.Gui.Tabs.WalletManager
{
if (ex is IOException && ex.Message.Contains("promptpin", StringComparison.Ordinal))
{
- // This happens for example when the PIN is cleared (timeout, disconnect) after the enumeration and the xpub wasn't yet acquired at all, so we reenumerate.
+ // This happens for example when the PIN is cleared (timeout, disconnect) after the enumeration and the xpub was not yet acquired at all, so we reenumerate.
// This will still show up the error, but at least this'll make sure that the new hardware wallet state is shown in the GUI, so they can click Load again.
var enumRes = await HwiProcessManager.EnumerateAsync();
TryRefreshHardwareWallets(enumRes);

MODIFY
WalletWasabi.Tests/ExternalApiTests.cs
WalletWasabi.Tests/ExternalApiTests.cs
@@ -102,7 +102,7 @@ namespace WalletWasabi.Tests
}
catch (Exception ex)
{
- Logger.LogDebug<ExternalApiTests>($"Uri wasn't reachable: {uri}");
+ Logger.LogDebug<ExternalApiTests>($"Uri was not reachable: {uri}");
Logger.LogDebug<ExternalApiTests>(ex);
}
return false;

MODIFY
WalletWasabi.Tests/RegTests.cs
WalletWasabi.Tests/RegTests.cs
@@ -496,7 +496,7 @@ namespace WalletWasabi.Tests
{
if (times > timeout.TotalSeconds)
{
- throw new TimeoutException($"{nameof(WasabiSynchronizer)} test timed out. Filter wasn't downloaded.");
+ throw new TimeoutException($"{nameof(WasabiSynchronizer)} test timed out. Filter was not downloaded.");
}
await Task.Delay(TimeSpan.FromSeconds(1));
times++;
@@ -729,7 +729,7 @@ namespace WalletWasabi.Tests
{
if (times > timeout.TotalSeconds)
{
- throw new TimeoutException($"{nameof(WalletService)} test timed out. Filter wasn't processed. Needed: {numberOfFiltersToWaitFor}, got only: {Interlocked.Read(ref _filtersProcessedByWalletCount)}.");
+ throw new TimeoutException($"{nameof(WalletService)} test timed out. Filter was not processed. Needed: {numberOfFiltersToWaitFor}, got only: {Interlocked.Read(ref _filtersProcessedByWalletCount)}.");
}
await Task.Delay(TimeSpan.FromSeconds(1));
times++;
@@ -3114,7 +3114,7 @@ namespace WalletWasabi.Tests
{
if (timeout.IsCompletedSuccessfully)
{
- throw new TimeoutException("CoinJoin wasn't propagated.");
+ throw new TimeoutException("CoinJoin was not propagated.");
}
await Task.Delay(1000);
}
@@ -3245,7 +3245,7 @@ namespace WalletWasabi.Tests
{
if (timeout.IsCompletedSuccessfully)
{
- throw new TimeoutException("CoinJoin wasn't propagated.");
+ throw new TimeoutException("CoinJoin was not propagated.");
}
await Task.Delay(1000);
}
@@ -3422,7 +3422,7 @@ namespace WalletWasabi.Tests
{
if (timeout.IsCompletedSuccessfully)
{
- throw new TimeoutException("CoinJoin wasn't propagated or didn't arrive.");
+ throw new TimeoutException("CoinJoin was not propagated or didn't arrive.");
}
await Task.Delay(1000);
}

MODIFY
WalletWasabi/Stores/HashChain.cs
WalletWasabi/Stores/HashChain.cs
@@ -152,7 +152,7 @@ namespace WalletWasabi.Stores
{
Height = Chain.FirstOrDefault(x => x.Value == hash).Key;
- // Default int will be 0. We don't know if this refers to the 0th hash or it just means the hash wasn't found.
+ // Default int will be 0. We don't know if this refers to the 0th hash or it just means the hash was not found.
// So let's check if the height contains or not.
// If the given height is 0, then check if the chain has a key with 0. If it doesn't have, then return false. If it hash, check if the hash is the same or not.
if (Height == 0 && (!Chain.ContainsKey(0) || Chain[0] != hash))

Replace wasn't by was not