diff --git a/autopilot/choice_test.go b/autopilot/choice_test.go index bde48b0da..c08d87a35 100644 --- a/autopilot/choice_test.go +++ b/autopilot/choice_test.go @@ -21,7 +21,7 @@ func TestWeightedChoiceEmptyMap(t *testing.T) { } } -// singeNonZero is a type used to generate float64 slices with one non-zero +// singleNonZero is a type used to generate float64 slices with one non-zero // element. type singleNonZero []float64 diff --git a/contractcourt/nursery_store.go b/contractcourt/nursery_store.go index a976ed89c..c668f22b6 100644 --- a/contractcourt/nursery_store.go +++ b/contractcourt/nursery_store.go @@ -75,7 +75,7 @@ import ( // graduated height and finalized txes. This also prevents people downgrading // and surprising the downgraded nursery with missing data. -// NurseryStore abstracts the persistent storage layer for the utxo nursery. +// NurseryStorer abstracts the persistent storage layer for the utxo nursery. // Concretely, it stores commitment and htlc outputs until any time-bounded // constraints have fully matured. The store exposes methods for enumerating its // contents, and persisting state transitions detected by the utxo nursery. diff --git a/input/input.go b/input/input.go index 516ebbdbe..a6d3fa5b4 100644 --- a/input/input.go +++ b/input/input.go @@ -332,7 +332,7 @@ func (h *HtlcSucceedInput) CraftInputScript(signer Signer, txn *wire.MsgTx, }, nil } -// HtlcsSecondLevelAnchorInput is an input type used to spend HTLC outputs +// HtlcSecondLevelAnchorInput is an input type used to spend HTLC outputs // using a re-signed second level transaction, either via the timeout or success // paths. type HtlcSecondLevelAnchorInput struct {