docs: Modify example WalletBalance responses

This commit is contained in:
Nalin Bhardwaj 2017-11-26 19:03:32 +05:30
parent eb13be9adf
commit 965fcf5bd6
No known key found for this signature in database
GPG Key ID: B25133FC2745D499
2 changed files with 4 additions and 2 deletions

@ -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"
}
```

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