Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Corret some typos #1909

Merged
merged 1 commit into from Jul 15, 2019
Merged
Changes from all commits
Commits
File filter...
Filter file types
Jump to…
Jump to file or symbol
Failed to load files and symbols.

Always

Just for now

@@ -163,7 +163,7 @@ PublishScripts/
!**/packages/build/
# Uncomment if necessary however generally it will be regenerated when needed
#!**/packages/repositories.config
# NuGet v3's project.json files produces more ignoreable files
# NuGet v3's project.json files produces more ignorable files
*.nuget.props
*.nuget.targets

@@ -6,7 +6,7 @@

namespace WalletWasabi.Gui.Converters
{
public class WindowStateAfterSartJsonConverter : JsonConverter
public class WindowStateAfterStartJsonConverter : JsonConverter
{
/// <inheritdoc />
public override bool CanConvert(Type objectType)
@@ -26,7 +26,7 @@ public class UiConfig : ReactiveObject, IConfig
public string FilePath { get; private set; }

[JsonProperty(PropertyName = "WindowState")]
[JsonConverter(typeof(WindowStateAfterSartJsonConverter))]
[JsonConverter(typeof(WindowStateAfterStartJsonConverter))]
public WindowState? WindowState { get; internal set; }

[JsonProperty(PropertyName = "Height")]
@@ -357,13 +357,13 @@ public void TryRemoveStatus(params StatusBarStatus[] statuses)

private void SetPeers(int peers)
{
// Set peers to 0 if Tor is not running, because we get Tor status from backend answer so it's seem to the user that peers are connected over clearnet, while they do not.
// Set peers to 0 if Tor is not running, because we get Tor status from backend answer so it seems to the user that peers are connected over clearnet, while they do not.
Peers = Tor == TorStatus.NotRunning ? 0 : peers;
}

private void SetTor(TorStatus tor)
{
// Set peers to 0 if Tor is not running, because we get Tor status from backend answer so it's seem to the user that peers are connected over clearnet, while they do not.
// Set peers to 0 if Tor is not running, because we get Tor status from backend answer so it seems to the user that peers are connected over clearnet, while they do not.
Tor = UseTor ? tor : TorStatus.TurnedOff;
}

@@ -1,8 +1,8 @@
using Gma.QrCodeNet.Encoding.Positioning.Stencils;
using Gma.QrCodeNet.Encoding.Positioning.Stencils;

namespace Gma.QrCodeNet.Encoding.Positioning
{
internal static class PositioninngPatternBuilder
internal static class PositioningPatternBuilder
{
internal static void EmbedBasicPatterns(int version, TriStateMatrix matrix)
{
@@ -1,4 +1,4 @@
using Gma.QrCodeNet.Encoding.DataEncodation;
using Gma.QrCodeNet.Encoding.DataEncodation;
using Gma.QrCodeNet.Encoding.EncodingRegion;
using Gma.QrCodeNet.Encoding.ErrorCorrection;
using Gma.QrCodeNet.Encoding.Masking;
@@ -29,7 +29,7 @@ private static BitMatrix ProcessEncodationResult(EncodationStruct encodeStruct,
BitList codewords = ECGenerator.FillECCodewords(encodeStruct.DataCodewords, encodeStruct.VersionDetail);

TriStateMatrix triMatrix = new TriStateMatrix(encodeStruct.VersionDetail.MatrixWidth);
PositioninngPatternBuilder.EmbedBasicPatterns(encodeStruct.VersionDetail.Version, triMatrix);
PositioningPatternBuilder.EmbedBasicPatterns(encodeStruct.VersionDetail.Version, triMatrix);

triMatrix.EmbedVersionInformation(encodeStruct.VersionDetail.Version);
triMatrix.EmbedFormatInformation(errorLevel, new Pattern0());
@@ -41,7 +41,7 @@ public AllFeeEstimate(EstimateSmartFeeMode type, IDictionary<int, int> estimatio

public Money GetFeeRate(int feeTarget)
{
// Where the target is still under or equals to the requested target.
// Where the target is still under or equal to the requested target.
int satoshiPerByte = Estimations
.Last(x => x.Key <= feeTarget) // The last should be the largest feeTarget.
.Value;
@@ -347,7 +347,7 @@ private async void Round_StatusChangedAsync(object sender, CcjRoundStatus status

foreach (Alice alice in alicesDidntSign) // Because the event sometimes is raised from inside the lock.
{
// If its from any coinjoin, then do not ban.
// If it is from any coinjoin, then do not ban.
IEnumerable<OutPoint> utxosToBan = alice.Inputs.Select(x => x.Outpoint);
await UtxoReferee.BanUtxosAsync(1, DateTimeOffset.UtcNow, forceNoted: false, round.RoundId, utxosToBan.ToArray());
}
@@ -227,7 +227,7 @@ public async Task<(bool backendCompatible, bool clientUpToDate)> CheckUpdatesAsy
{
var versions = await GetVersionsAsync(cancel);
var clientUpToDate = Helpers.Constants.ClientVersion >= versions.ClientVersion; // If the client version locally is greater than or equal to the backend's reported client version, then good.
var backendCompatible = int.Parse(Helpers.Constants.BackendMajorVersion) == versions.BackendMajorVersion; // If the backend major and the client major equals, then our softwares are compatible.
var backendCompatible = int.Parse(Helpers.Constants.BackendMajorVersion) == versions.BackendMajorVersion; // If the backend major and the client major are equal, then our softwares are compatible.

return (backendCompatible, clientUpToDate);
}
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.