Merge pull request #6659 from ErikEk/trivial-typo

typo: trivial
This commit is contained in:
Oliver Gugger 2022-07-06 13:34:19 +02:00 committed by GitHub
commit b9d8c701eb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 6 additions and 3 deletions

View File

@ -61,7 +61,7 @@ func (c *WeightedCombAttachment) Name() string {
// maps the NodeID to an attachment directive containing a score and a channel
// size.
//
// The scores is determined by quering the set of sub-heuristics, then
// The scores is determined by querying the set of sub-heuristics, then
// combining these scores into a final score according to the active
// configuration.
//

View File

@ -3,6 +3,9 @@
## Misc
* Warning messages from peers are now recognized and [logged](https://github.com/lightningnetwork/lnd/pull/6546) by lnd.
* [Fixed error typo](https://github.com/lightningnetwork/lnd/pull/6659).
# Contributors (Alphabetical Order)
* Carla Kirk-Cohen
* ErikEk

View File

@ -142,7 +142,7 @@ func (f FailResolutionResult) FailureString() string {
return "invoice already canceled"
case ResultInvoiceAlreadySettled:
return "invoice alread settled"
return "invoice already settled"
case ResultAmountTooLow:
return "amount too low"

View File

@ -366,7 +366,7 @@ func checkSettleResolution(t *testing.T, res HtlcResolution,
}
// checkFailResolution asserts the resolution is a fail with the correct reason.
// If successful, the HtlcFailResolutionis returned in case further checks are
// If successful, the HtlcFailResolution is returned in case further checks are
// desired.
func checkFailResolution(t *testing.T, res HtlcResolution,
expOutcome FailResolutionResult) *HtlcFailResolution {