From 965fcf5bd6f1ea05906ce63febb39b0234da8fa1 Mon Sep 17 00:00:00 2001 From: Nalin Bhardwaj Date: Sun, 26 Nov 2017 19:03:32 +0530 Subject: [PATCH] docs: Modify example WalletBalance responses --- docker/README.md | 4 +++- docs/grpc/python.md | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/docker/README.md b/docker/README.md index f16351f3..ebcca050 100644 --- a/docker/README.md +++ b/docker/README.md @@ -241,7 +241,9 @@ alice$ lncli walletbalance # channel: bob$ lncli walletbalance { - "balance": 0.0001 + "total_balance": "0.0001", + "confirmed_balance": "0.0001", + "unconfirmed_balance": "0" } ``` diff --git a/docs/grpc/python.md b/docs/grpc/python.md index 9fc02dda..403811f0 100644 --- a/docs/grpc/python.md +++ b/docs/grpc/python.md @@ -71,7 +71,7 @@ is at the default `localhost:10009`, with an open channel between the two nodes. ```python # Retrieve and display the wallet balance response = stub.WalletBalance(ln.WalletBalanceRequest(witness_only=True)) -print response.balance +print response.total_balance ``` #### Response-streaming RPC