mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-02-24 06:47:44 +01:00
Merge pull request #3917 from cfromknecht/send-coin-bech32
lncli: fix sendcoins docs, allow base58 or bech32 addrs
This commit is contained in:
commit
27139b8c28
1 changed files with 4 additions and 3 deletions
|
@ -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",
|
||||
|
|
Loading…
Add table
Reference in a new issue