docs: Modify example WalletBalance responses

This commit is contained in:
Nalin Bhardwaj
2017-11-26 19:03:32 +05:30
parent eb13be9adf
commit 965fcf5bd6
2 changed files with 4 additions and 2 deletions

View File

@ -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