Merge pull request #3917 from cfromknecht/send-coin-bech32

lncli: fix sendcoins docs, allow base58 or bech32 addrs
This commit is contained in:
Joost Jager authored and GitHub committed 2020-01-15 16:19:14 +01:00
commit 27139b8c28
1 file changed
+4 -3
+4 -3
View File
@@ -203,7 +203,7 @@ var sendCoinsCommand = cli.Command{
Usage: "Send bitcoin on-chain to an address.",
ArgsUsage: "addr amt",
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
--sat_per_byte optional flags.
@@ -212,8 +212,9 @@ var sendCoinsCommand = cli.Command{
`,
Flags: []cli.Flag{
cli.StringFlag{
Name: "addr",
Usage: "the BASE58 encoded bitcoin address to send coins to on-chain",
Name: "addr",
Usage: "the base58 or bech32 encoded bitcoin address to send coins " +
"to on-chain",
},
cli.BoolFlag{
Name: "sweepall",