Merge pull request #6635 from petertodd/2022-fix-missing-p2tr-help

Add p2tr to supported address help message
This commit is contained in:
Oliver Gugger
2022-06-13 09:53:49 +02:00
committed by GitHub

View File

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