multi: fix some function names in interface comment

Signed-off-by: chuangjinglu <chuangjinglu@outlook.com>
This commit is contained in:
chuangjinglu 2024-11-23 13:15:22 +08:00
parent 94f7ed46de
commit bcfd8d5b47
4 changed files with 6 additions and 5 deletions

View file

@ -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
// construct the corresponding transaction input.
OutPoint() wire.OutPoint

View file

@ -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()

View file

@ -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)
}

View file

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