lncli: fix sendcoins docs, allow base58 or bech32 addrs
This commit is contained in:
parent
7d356458e3
commit
51306f4ecd
@ -203,7 +203,7 @@ var sendCoinsCommand = cli.Command{
|
|||||||
Usage: "Send bitcoin on-chain to an address.",
|
Usage: "Send bitcoin on-chain to an address.",
|
||||||
ArgsUsage: "addr amt",
|
ArgsUsage: "addr amt",
|
||||||
Description: `
|
Description: `
|
||||||
Send amt coins in satoshis to the BASE58 encoded bitcoin address addr.
|
Send amt coins in satoshis to the base58 or bech32 encoded bitcoin address addr.
|
||||||
|
|
||||||
Fees used when sending the transaction can be specified via the --conf_target, or
|
Fees used when sending the transaction can be specified via the --conf_target, or
|
||||||
--sat_per_byte optional flags.
|
--sat_per_byte optional flags.
|
||||||
@ -212,8 +212,9 @@ var sendCoinsCommand = cli.Command{
|
|||||||
`,
|
`,
|
||||||
Flags: []cli.Flag{
|
Flags: []cli.Flag{
|
||||||
cli.StringFlag{
|
cli.StringFlag{
|
||||||
Name: "addr",
|
Name: "addr",
|
||||||
Usage: "the BASE58 encoded bitcoin address to send coins to on-chain",
|
Usage: "the base58 or bech32 encoded bitcoin address to send coins " +
|
||||||
|
"to on-chain",
|
||||||
},
|
},
|
||||||
cli.BoolFlag{
|
cli.BoolFlag{
|
||||||
Name: "sweepall",
|
Name: "sweepall",
|
||||||
|
Loading…
Reference in New Issue
Block a user