docs: Modify example WalletBalance responses
This commit is contained in:
parent
eb13be9adf
commit
965fcf5bd6
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user