From 51306f4ecd573a25e17dd516acf079a6a83b1f69 Mon Sep 17 00:00:00 2001 From: Conner Fromknecht Date: Wed, 15 Jan 2020 05:01:42 -0800 Subject: [PATCH] lncli: fix sendcoins docs, allow base58 or bech32 addrs --- cmd/lncli/commands.go | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/cmd/lncli/commands.go b/cmd/lncli/commands.go index 6ef0aad8..73651db8 100644 --- a/cmd/lncli/commands.go +++ b/cmd/lncli/commands.go @@ -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",