Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

multi: fix some function names in interface comment #9301

Merged
merged 1 commit into from
Nov 25, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion input/input.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ var EmptyOutPoint wire.OutPoint
// construct a valid input within a sweeping transaction to sweep this
// lingering UTXO.
type Input interface {
// Outpoint returns the reference to the output being spent, used to
// OutPoint returns the reference to the output being spent, used to
chuangjinglu marked this conversation as resolved.
Show resolved Hide resolved
// construct the corresponding transaction input.
OutPoint() wire.OutPoint

Expand Down
2 changes: 1 addition & 1 deletion input/mocks.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ type MockInput struct {
// Compile time assertion that MockInput implements Input.
var _ Input = (*MockInput)(nil)

// Outpoint returns the reference to the output being spent, used to construct
// OutPoint returns the reference to the output being spent, used to construct
// the corresponding transaction input.
func (m *MockInput) OutPoint() wire.OutPoint {
args := m.Called()
Expand Down
5 changes: 3 additions & 2 deletions sweep/walletsweep.go
Original file line number Diff line number Diff line change
Expand Up @@ -152,8 +152,9 @@ func (f FeeEstimateInfo) Estimate(estimator chainfee.Estimator,
// UtxoSource is an interface that allows a caller to access a source of UTXOs
// to use when crafting sweep transactions.
type UtxoSource interface {
// ListUnspentWitness returns all UTXOs from the default wallet account
// that have between minConfs and maxConfs number of confirmations.
// ListUnspentWitnessFromDefaultAccount returns all UTXOs from the
// default wallet account that have between minConfs and maxConfs
// number of confirmations.
ListUnspentWitnessFromDefaultAccount(minConfs, maxConfs int32) (
[]*lnwallet.Utxo, error)
}
Expand Down
2 changes: 1 addition & 1 deletion watchtower/wtwire/message.go
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ type Message interface {
// be encoded.
MsgType() MessageType

// MaxMessagePayload is the maximum serialized length that a particular
// MaxPayloadLength is the maximum serialized length that a particular
// message type can take.
MaxPayloadLength(uint32) uint32
}
Expand Down
Loading