@@ -1309,7 +1309,7 @@ func abandonChannel(ctx *cli.Context) error {
13091309}
13101310
13111311// parseChannelPoint parses a funding txid and output index from the command
1312- // line. Both named options as well as unnamed parameters are supported.
1312+ // line. Both named options and unnamed parameters are supported.
13131313func parseChannelPoint (ctx * cli.Context ) (* lnrpc.ChannelPoint , error ) {
13141314 channelPoint := & lnrpc.ChannelPoint {}
13151315 var err error
@@ -1632,7 +1632,7 @@ func listChannels(ctx *cli.Context) error {
16321632 peerKey = pk [:]
16331633 }
16341634
1635- // By default we will look up the peers' alias information unless the
1635+ // By default, we will look up the peers' alias information unless the
16361636 // skip_peer_alias_lookup flag indicates otherwise.
16371637 lookupPeerAlias := ! ctx .Bool ("skip_peer_alias_lookup" )
16381638
@@ -2230,7 +2230,7 @@ var updateChannelPolicyCommand = cli.Command{
22302230 "forwarded HTLC and the outbound fee. Fee " +
22312231 "rate is expressed in parts per million and " +
22322232 "must be zero or negative - it is a discount " +
2233- "for using a particular incoming channel." +
2233+ "for using a particular incoming channel. " +
22342234 "Note that forwards will be rejected if the " +
22352235 "discount exceeds the outbound fee " +
22362236 "(forward at a loss), and lead to " +
@@ -2804,7 +2804,7 @@ var restoreChanBackupCommand = cli.Command{
28042804}
28052805
28062806// errMissingChanBackup is an error returned when we attempt to parse a channel
2807- // backup from a CLI command and it is missing.
2807+ // backup from a CLI command, and it is missing.
28082808var errMissingChanBackup = errors .New ("missing channel backup" )
28092809
28102810func parseChanBackups (ctx * cli.Context ) (* lnrpc.RestoreChanBackupRequest , error ) {
0 commit comments