mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-11-29 15:36:34 +01:00
lncli: fix typo in inbound fee help text
This commit is contained in:
@@ -1309,7 +1309,7 @@ func abandonChannel(ctx *cli.Context) error {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// parseChannelPoint parses a funding txid and output index from the command
|
// parseChannelPoint parses a funding txid and output index from the command
|
||||||
// line. Both named options as well as unnamed parameters are supported.
|
// line. Both named options and unnamed parameters are supported.
|
||||||
func parseChannelPoint(ctx *cli.Context) (*lnrpc.ChannelPoint, error) {
|
func parseChannelPoint(ctx *cli.Context) (*lnrpc.ChannelPoint, error) {
|
||||||
channelPoint := &lnrpc.ChannelPoint{}
|
channelPoint := &lnrpc.ChannelPoint{}
|
||||||
var err error
|
var err error
|
||||||
@@ -1632,7 +1632,7 @@ func listChannels(ctx *cli.Context) error {
|
|||||||
peerKey = pk[:]
|
peerKey = pk[:]
|
||||||
}
|
}
|
||||||
|
|
||||||
// By default we will look up the peers' alias information unless the
|
// By default, we will look up the peers' alias information unless the
|
||||||
// skip_peer_alias_lookup flag indicates otherwise.
|
// skip_peer_alias_lookup flag indicates otherwise.
|
||||||
lookupPeerAlias := !ctx.Bool("skip_peer_alias_lookup")
|
lookupPeerAlias := !ctx.Bool("skip_peer_alias_lookup")
|
||||||
|
|
||||||
@@ -2804,7 +2804,7 @@ var restoreChanBackupCommand = cli.Command{
|
|||||||
}
|
}
|
||||||
|
|
||||||
// errMissingChanBackup is an error returned when we attempt to parse a channel
|
// errMissingChanBackup is an error returned when we attempt to parse a channel
|
||||||
// backup from a CLI command and it is missing.
|
// backup from a CLI command, and it is missing.
|
||||||
var errMissingChanBackup = errors.New("missing channel backup")
|
var errMissingChanBackup = errors.New("missing channel backup")
|
||||||
|
|
||||||
func parseChanBackups(ctx *cli.Context) (*lnrpc.RestoreChanBackupRequest, error) {
|
func parseChanBackups(ctx *cli.Context) (*lnrpc.RestoreChanBackupRequest, error) {
|
||||||
|
|||||||
Reference in New Issue
Block a user