From 6d4c9ca060dc3977639de8a5da78eccd36a3909b Mon Sep 17 00:00:00 2001 From: rodasmith Date: Mon, 12 Mar 2018 18:56:49 +0000 Subject: [PATCH] docker: remove deprecated --witness_only arg in docs `lncli` command `walletbalance` apparently no longer supports the `--witness_only` argument. With the deprecated argument: ``` root@8a9ad8528430:/go/src/github.com/lightningnetwork/lnd# lncli walletbalance --witness_only=true Incorrect Usage: flag provided but not defined: -witness_only NAME: lncli walletbalance - Compute and display the wallet's current balance USAGE: lncli walletbalance [arguments...] [lncli] flag provided but not defined: -witness_only ``` After removing that argument: ``` root@8a9ad8528430:/go/src/github.com/lightningnetwork/lnd# lncli walletbalance { "total_balance": "1505000000000", "confirmed_balance": "1505000000000", "unconfirmed_balance": "0" } ``` --- docker/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker/README.md b/docker/README.md index dcdcffff..349a9912 100644 --- a/docker/README.md +++ b/docker/README.md @@ -83,7 +83,7 @@ $ docker-compose run btcctl getblockchaininfo | grep -A 1 segwit Check `Alice` balance: ``` -alice$ lncli walletbalance --witness_only=true +alice$ lncli walletbalance ``` Connect `Bob` node to `Alice` node.