mirror of https://github.com/bumi/lnrpc
Fix typo
This commit is contained in:
parent
80bf0bb600
commit
cb549f4fe6
|
@ -24,7 +24,7 @@ Or install it yourself as:
|
|||
|
||||
## 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
|
||||
require "lnrpc"
|
||||
|
@ -32,7 +32,7 @@ require "lnrpc"
|
|||
# With the changes in LND v.10.0 this load the `Lnrpc` and `Routerrpc` namespace
|
||||
|
||||
Lnrpc::Lightning::Stub
|
||||
Routerrpc:::Routerrpc::Stub
|
||||
Routerrpc::Routerrpc::Stub
|
||||
Lnrpc::GetInfoRequest
|
||||
...
|
||||
```
|
||||
|
@ -130,7 +130,7 @@ client.lightning.grpc.list_channels(request)
|
|||
|
||||
client.lightning.wallet_balance.total_balance
|
||||
# is the same as:
|
||||
request = Lnrpc::WalletBalanceRequest.new()
|
||||
request = Lnrpc::WalletBalanceRequest.new
|
||||
client.lightning.grpc.wallet_balance(request).total_balance
|
||||
```
|
||||
|
||||
|
|
Loading…
Reference in New Issue