diff --git a/.github/ISSUE_TEMPLATE/bug-report.md b/.github/ISSUE_TEMPLATE/bug-report.md index 7ee5091..b8a31d0 100644 --- a/.github/ISSUE_TEMPLATE/bug-report.md +++ b/.github/ISSUE_TEMPLATE/bug-report.md @@ -36,7 +36,7 @@ Please provide a general summary of the issue you're experiencing Tell us what should happen ### Actual behaviour + errors -Tell us what happens instead including any noticable error output (any messages +Tell us what happens instead including any noticeable error output (any messages displayed on-screen when e.g. a crash occurred) diff --git a/secant/Features/BackupFlow/RecoveryPhraseValidation.swift b/secant/Features/BackupFlow/RecoveryPhraseValidation.swift index c5b8a48..c779565 100644 --- a/secant/Features/BackupFlow/RecoveryPhraseValidation.swift +++ b/secant/Features/BackupFlow/RecoveryPhraseValidation.swift @@ -75,7 +75,7 @@ extension RecoveryPhraseValidationState { /// Given an array of RecoveryPhraseStepCompletion, missing indices, original phrase and the number of groups it was split into, /// assembly the resulting phrase. This comes up with the "proposed solution" for the recovery phrase validation challenge. /// - returns:an array of String containing the recovery phrase words ordered by the original phrase order, or `nil` - /// if a resulting phrase can't be formed becasue the validation state is not complete. + /// if a resulting phrase can't be formed because the validation state is not complete. var resultingPhrase: [String]? { guard missingIndices.count == validationWords.count else { return nil } diff --git a/secant/Models/Balance.swift b/secant/Models/Balance.swift index 00c3db2..c4bb4f3 100644 --- a/secant/Models/Balance.swift +++ b/secant/Models/Balance.swift @@ -28,13 +28,13 @@ protocol Funds { } /** -Wallet Balance that condenses transpant, Sapling and Orchard funds +Wallet Balance that condenses transparent, Sapling and Orchard funds */ protocol WalletBalance { /** Transparent funds. This is the sum of the UTXOs of the user found at a given time */ - var transaparent: Funds { get } + var transparent: Funds { get } /** Funds on the Sapling shielded pool for a given user. @@ -70,18 +70,18 @@ protocol WalletBalance { extension WalletBalance { static var nullBalance: WalletBalance { Balance( - transaparent: ZcashFunds.noFunds, + transparent: ZcashFunds.noFunds, sapling: ZcashFunds.noFunds, orchard: ZcashFunds.noFunds ) } var totalAvailableBalance: Int64 { - transaparent.confirmed + sapling.confirmed + orchard.confirmed + transparent.confirmed + sapling.confirmed + orchard.confirmed } var totalUnconfirmedBalance: Int64 { - transaparent.unconfirmed + sapling.unconfirmed + orchard.unconfirmed + transparent.unconfirmed + sapling.unconfirmed + orchard.unconfirmed } var totalBalance: Int64 { @@ -93,7 +93,7 @@ extension WalletBalance { Concrete Wallet Balance. */ struct Balance: WalletBalance { - var transaparent: Funds + var transparent: Funds var sapling: Funds var orchard: Funds } diff --git a/secant/Stubs/MockServices.swift b/secant/Stubs/MockServices.swift index 69b46dd..e9562bc 100644 --- a/secant/Stubs/MockServices.swift +++ b/secant/Stubs/MockServices.swift @@ -4,7 +4,7 @@ // // Created by Francisco Gindre on 8/6/21. // -// TODO: Move this to diferent Target when real functionality is developed. +// TODO: Move this to different Target when real functionality is developed. import Foundation // swiftlint:disable line_length diff --git a/secant/Stubs/ZcashSDKStubs.swift b/secant/Stubs/ZcashSDKStubs.swift index ab9275b..a01c73f 100644 --- a/secant/Stubs/ZcashSDKStubs.swift +++ b/secant/Stubs/ZcashSDKStubs.swift @@ -93,7 +93,7 @@ public enum ZcashSDK { public static var defaultRetrie: Int = 5 /** - The default maximum amount of time to wait during retry backoff intervals. Failed loops will never wait longer than this before retyring. + The default maximum amount of time to wait during retry backoff intervals. Failed loops will never wait longer than this before retrying. */ public static var defaultMaxBackoffInterval: TimeInterval = 600