trivial typo[skip ci]

This commit is contained in:
ErikEk 2022-06-22 10:15:41 +02:00
parent e6277986fd
commit 6146b8d644
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 {