Merge pull request #8658 from hidewrong/master

chore: fix struct names
This commit is contained in:
Oliver Gugger 2024-04-24 10:56:20 -06:00 committed by GitHub
commit 5cf700d611
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 3 additions and 3 deletions

View File

@ -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. // element.
type singleNonZero []float64 type singleNonZero []float64

View File

@ -75,7 +75,7 @@ import (
// graduated height and finalized txes. This also prevents people downgrading // graduated height and finalized txes. This also prevents people downgrading
// and surprising the downgraded nursery with missing data. // 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 // Concretely, it stores commitment and htlc outputs until any time-bounded
// constraints have fully matured. The store exposes methods for enumerating its // constraints have fully matured. The store exposes methods for enumerating its
// contents, and persisting state transitions detected by the utxo nursery. // contents, and persisting state transitions detected by the utxo nursery.

View File

@ -332,7 +332,7 @@ func (h *HtlcSucceedInput) CraftInputScript(signer Signer, txn *wire.MsgTx,
}, nil }, 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 // using a re-signed second level transaction, either via the timeout or success
// paths. // paths.
type HtlcSecondLevelAnchorInput struct { type HtlcSecondLevelAnchorInput struct {