From 950e233f73e06e1ca60ebcc0f523ecccec7c4025 Mon Sep 17 00:00:00 2001 From: Michael Bumann Date: Tue, 12 Feb 2019 05:39:53 +0000 Subject: [PATCH] Update README.md --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index a304346..466e9e9 100644 --- a/README.md +++ b/README.md @@ -106,10 +106,10 @@ client.get_info # is the same as: client.grpc_client.get_info(Lnrpc::GetInfoRequest.new, { metadata: { macaroon: macaroon } }) -client.add_invoice(value: 1000, memo: 'I :heart: ruby') +client.list_channels(inactive_only: true) # is the same as: -invoice_request = Lnrpc::AddInvoiceRequest(value: 1000, memo: 'I :heart: ruby') -client.grpc_client.add_invoice(invoice_request, { metadata: { macaroon: macaroon } }) +request = Lnrpc::ListChannelsRequest(inactive_only: true) +client.grpc_client.list_channesl(request, { metadata: { macaroon: macaroon } }) ```