mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-08-28 22:50:58 +02:00
Add p2tr to supported address help message
This commit is contained in:
@@ -169,7 +169,7 @@ func newAddress(ctx *cli.Context) error {
|
|||||||
addrType = lnrpc.AddressType_TAPROOT_PUBKEY
|
addrType = lnrpc.AddressType_TAPROOT_PUBKEY
|
||||||
default:
|
default:
|
||||||
return fmt.Errorf("invalid address type %v, support address type "+
|
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)
|
client, cleanUp := getClient(ctx)
|
||||||
|
Reference in New Issue
Block a user