From 6146b8d644960ddf750e76241c11e45a1d61cc05 Mon Sep 17 00:00:00 2001 From: ErikEk Date: Wed, 22 Jun 2022 10:15:41 +0200 Subject: [PATCH] trivial typo[skip ci] --- autopilot/combinedattach.go | 2 +- docs/release-notes/release-notes-0.16.0.md | 3 +++ invoices/resolution_result.go | 2 +- invoices/test_utils_test.go | 2 +- 4 files changed, 6 insertions(+), 3 deletions(-) diff --git a/autopilot/combinedattach.go b/autopilot/combinedattach.go index 3b92d14d7..0a7e3557b 100644 --- a/autopilot/combinedattach.go +++ b/autopilot/combinedattach.go @@ -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. // diff --git a/docs/release-notes/release-notes-0.16.0.md b/docs/release-notes/release-notes-0.16.0.md index b5d805d9b..a1b768018 100644 --- a/docs/release-notes/release-notes-0.16.0.md +++ b/docs/release-notes/release-notes-0.16.0.md @@ -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 diff --git a/invoices/resolution_result.go b/invoices/resolution_result.go index 9c40c84ca..f66198f05 100644 --- a/invoices/resolution_result.go +++ b/invoices/resolution_result.go @@ -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" diff --git a/invoices/test_utils_test.go b/invoices/test_utils_test.go index fec6f4e83..b1bdafeff 100644 --- a/invoices/test_utils_test.go +++ b/invoices/test_utils_test.go @@ -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 {