From eef2f1caf74137d9e308ac63e050a6306b334c8a Mon Sep 17 00:00:00 2001 From: Peter Todd Date: Sat, 11 Jun 2022 00:53:36 -0400 Subject: [PATCH] Add p2tr to supported address help message --- cmd/lncli/commands.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/lncli/commands.go b/cmd/lncli/commands.go index 251deec80..7a03a41de 100644 --- a/cmd/lncli/commands.go +++ b/cmd/lncli/commands.go @@ -169,7 +169,7 @@ func newAddress(ctx *cli.Context) error { addrType = lnrpc.AddressType_TAPROOT_PUBKEY default: return fmt.Errorf("invalid address type %v, support address type "+ - "are: p2wkh and np2wkh", stringAddrType) + "are: p2wkh, np2wkh, and p2tr", stringAddrType) } client, cleanUp := getClient(ctx)