docs: Modify example WalletBalance responses

This commit is contained in:
Nalin Bhardwaj committed 2017-12-04 05:34:48 +05:30
1 parent eb13be9adf
commit 965fcf5bd6
2 files changed
+4 -2

No files matched your search

+3 -1
View File
@@ -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"
}
```
+1 -1
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