chore: fix struct names

Signed-off-by: hidewrong <hidewrong@outlook.com>
This commit is contained in:
hidewrong 2024-04-17 11:19:31 +08:00
parent 2ccf58e2af
commit 8afb978c81
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.
type singleNonZero []float64

View File

@ -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.

View File

@ -329,7 +329,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 {