mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-08-28 06:32:18 +02:00
kvdb+cmd: fix typos
This commit is contained in:
@@ -453,7 +453,7 @@ func constrainMacaroon(ctx *cli.Context) error {
|
||||
// add first-party caveats (if necessary) to it.
|
||||
sourceMac := &macaroon.Macaroon{}
|
||||
if err = sourceMac.UnmarshalBinary(sourceMacBytes); err != nil {
|
||||
return fmt.Errorf("error unmarshaling source macaroon file "+
|
||||
return fmt.Errorf("error unmarshalling source macaroon file "+
|
||||
"%s: %v", sourceMacFile, err)
|
||||
}
|
||||
|
||||
|
@@ -38,7 +38,7 @@ func getPeersClient(ctx *cli.Context) (peersrpc.PeersClient, func()) {
|
||||
var updateNodeAnnouncementCommand = cli.Command{
|
||||
Name: "updatenodeannouncement",
|
||||
Category: "Peers",
|
||||
Usage: "update and brodcast a new node announcement",
|
||||
Usage: "update and broadcast a new node announcement",
|
||||
Description: `
|
||||
Update the node's information and broadcast a new node announcement.
|
||||
|
||||
|
@@ -1298,8 +1298,8 @@ var listAddressesCommand = cli.Command{
|
||||
Flags: []cli.Flag{
|
||||
cli.StringFlag{
|
||||
Name: "account_name",
|
||||
Usage: "(optional) only addreses matching this account " +
|
||||
"are returned",
|
||||
Usage: "(optional) only addresses matching this " +
|
||||
"account are returned",
|
||||
},
|
||||
cli.BoolFlag{
|
||||
Name: "show_custom_accounts",
|
||||
|
Reference in New Issue
Block a user