chore: fix struct names

Signed-off-by: hidewrong <hidewrong@outlook.com>
This commit is contained in:
hidewrong committed 2024-04-17 11:19:31 +08:00
1 parent 2ccf58e2af
commit 8afb978c81
3 files changed
+3 -3

No files matched your search

+1 -1
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
+1 -1
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.
+1 -1
View File
@@ -329,7 +329,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 {