mirror of
https://github.com/bumi/lnrpc
synced 2025-06-16 13:25:34 +00:00
Fix typo
This commit is contained in:
parent
80bf0bb600
commit
cb549f4fe6
@ -24,7 +24,7 @@ Or install it yourself as:
|
|||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
|
|
||||||
This gem makes the gRPC client classes created from the [LND service defintions](https://github.com/lightningnetwork/lnd/tree/master/lnrpc) available.
|
This gem makes the gRPC client classes created from the [LND service definitions](https://github.com/lightningnetwork/lnd/tree/master/lnrpc) available.
|
||||||
|
|
||||||
```ruby
|
```ruby
|
||||||
require "lnrpc"
|
require "lnrpc"
|
||||||
@ -32,7 +32,7 @@ require "lnrpc"
|
|||||||
# With the changes in LND v.10.0 this load the `Lnrpc` and `Routerrpc` namespace
|
# With the changes in LND v.10.0 this load the `Lnrpc` and `Routerrpc` namespace
|
||||||
|
|
||||||
Lnrpc::Lightning::Stub
|
Lnrpc::Lightning::Stub
|
||||||
Routerrpc:::Routerrpc::Stub
|
Routerrpc::Routerrpc::Stub
|
||||||
Lnrpc::GetInfoRequest
|
Lnrpc::GetInfoRequest
|
||||||
...
|
...
|
||||||
```
|
```
|
||||||
@ -130,7 +130,7 @@ client.lightning.grpc.list_channels(request)
|
|||||||
|
|
||||||
client.lightning.wallet_balance.total_balance
|
client.lightning.wallet_balance.total_balance
|
||||||
# is the same as:
|
# is the same as:
|
||||||
request = Lnrpc::WalletBalanceRequest.new()
|
request = Lnrpc::WalletBalanceRequest.new
|
||||||
client.lightning.grpc.wallet_balance(request).total_balance
|
client.lightning.grpc.wallet_balance(request).total_balance
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user