Skip to content

Commit 5cf700d

Browse files
authored
Merge pull request #8658 from hidewrong/master
chore: fix struct names
2 parents acc5951 + 8afb978 commit 5cf700d

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

autopilot/choice_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ func TestWeightedChoiceEmptyMap(t *testing.T) {
2121
}
2222
}
2323

24-
// singeNonZero is a type used to generate float64 slices with one non-zero
24+
// singleNonZero is a type used to generate float64 slices with one non-zero
2525
// element.
2626
type singleNonZero []float64
2727

contractcourt/nursery_store.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ import (
7575
// graduated height and finalized txes. This also prevents people downgrading
7676
// and surprising the downgraded nursery with missing data.
7777

78-
// NurseryStore abstracts the persistent storage layer for the utxo nursery.
78+
// NurseryStorer abstracts the persistent storage layer for the utxo nursery.
7979
// Concretely, it stores commitment and htlc outputs until any time-bounded
8080
// constraints have fully matured. The store exposes methods for enumerating its
8181
// contents, and persisting state transitions detected by the utxo nursery.

input/input.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -332,7 +332,7 @@ func (h *HtlcSucceedInput) CraftInputScript(signer Signer, txn *wire.MsgTx,
332332
}, nil
333333
}
334334

335-
// HtlcsSecondLevelAnchorInput is an input type used to spend HTLC outputs
335+
// HtlcSecondLevelAnchorInput is an input type used to spend HTLC outputs
336336
// using a re-signed second level transaction, either via the timeout or success
337337
// paths.
338338
type HtlcSecondLevelAnchorInput struct {

0 commit comments

Comments
 (0)