From e207f9ad71bbdba5fdd62b2f28e592c1aaca2c90 Mon Sep 17 00:00:00 2001 From: Daniel McNally Date: Tue, 17 Apr 2018 22:22:55 -0700 Subject: [PATCH] multi: fix sever/server typos Fixed sever/server typos and regenerated rpc.pb.go --- lncfg/address.go | 2 +- lnrpc/rpc.pb.go | 4 ++-- lnrpc/rpc.proto | 2 +- lnrpc/rpc.swagger.json | 2 +- sample-lnd.conf | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/lncfg/address.go b/lncfg/address.go index fb4deb77..1bfc759d 100644 --- a/lncfg/address.go +++ b/lncfg/address.go @@ -45,7 +45,7 @@ func NormalizeAddresses(addrs []string, defaultPort string, // EnforceSafeAuthentication enforces "safe" authentication taking into account // the interfaces that the RPC servers are listening on, and if macaroons are // activated or not. To protect users from using dangerous config combinations, -// we'll prevent disabling authentication if the sever is listening on a public +// we'll prevent disabling authentication if the server is listening on a public // interface. func EnforceSafeAuthentication(addrs []net.Addr, macaroonsActive bool) error { // We'll now examine all addresses that this RPC server is listening diff --git a/lnrpc/rpc.pb.go b/lnrpc/rpc.pb.go index ff3912d0..f0d316b5 100644 --- a/lnrpc/rpc.pb.go +++ b/lnrpc/rpc.pb.go @@ -5247,7 +5247,7 @@ type LightningClient interface { // returned. LookupInvoice(ctx context.Context, in *PaymentHash, opts ...grpc.CallOption) (*Invoice, error) // * - // SubscribeInvoices returns a uni-directional stream (sever -> client) for + // SubscribeInvoices returns a uni-directional stream (server -> client) for // notifying the client of newly added/settled invoices. The caller can // optionally specify the add_index and/or the settle_index. If the add_index // is specified, then we'll first start by sending add invoice events for all @@ -6024,7 +6024,7 @@ type LightningServer interface { // returned. LookupInvoice(context.Context, *PaymentHash) (*Invoice, error) // * - // SubscribeInvoices returns a uni-directional stream (sever -> client) for + // SubscribeInvoices returns a uni-directional stream (server -> client) for // notifying the client of newly added/settled invoices. The caller can // optionally specify the add_index and/or the settle_index. If the add_index // is specified, then we'll first start by sending add invoice events for all diff --git a/lnrpc/rpc.proto b/lnrpc/rpc.proto index de714045..b44848ed 100644 --- a/lnrpc/rpc.proto +++ b/lnrpc/rpc.proto @@ -463,7 +463,7 @@ service Lightning { } /** - SubscribeInvoices returns a uni-directional stream (sever -> client) for + SubscribeInvoices returns a uni-directional stream (server -> client) for notifying the client of newly added/settled invoices. The caller can optionally specify the add_index and/or the settle_index. If the add_index is specified, then we'll first start by sending add invoice events for all diff --git a/lnrpc/rpc.swagger.json b/lnrpc/rpc.swagger.json index db37de97..792f9206 100644 --- a/lnrpc/rpc.swagger.json +++ b/lnrpc/rpc.swagger.json @@ -666,7 +666,7 @@ }, "/v1/invoices/subscribe": { "get": { - "summary": "*\nSubscribeInvoices returns a uni-directional stream (sever -\u003e client) for\nnotifying the client of newly added/settled invoices. The caller can\noptionally specify the add_index and/or the settle_index. If the add_index\nis specified, then we'll first start by sending add invoice events for all\ninvoices with an add_index greater than the specified value. If the\nsettle_index is specified, the next, we'll send out all settle events for\ninvoices with a settle_index greater than the specified value. One or both\nof these fields can be set. If no fields are set, then we'll only send out\nthe latest add/settle events.", + "summary": "*\nSubscribeInvoices returns a uni-directional stream (server -\u003e client) for\nnotifying the client of newly added/settled invoices. The caller can\noptionally specify the add_index and/or the settle_index. If the add_index\nis specified, then we'll first start by sending add invoice events for all\ninvoices with an add_index greater than the specified value. If the\nsettle_index is specified, the next, we'll send out all settle events for\ninvoices with a settle_index greater than the specified value. One or both\nof these fields can be set. If no fields are set, then we'll only send out\nthe latest add/settle events.", "operationId": "SubscribeInvoices", "responses": { "200": { diff --git a/sample-lnd.conf b/sample-lnd.conf index 3344bf18..ed9b41ce 100644 --- a/sample-lnd.conf +++ b/sample-lnd.conf @@ -313,7 +313,7 @@ litecoin.node=ltcd ; tor.socks=9050 ; The DNS server as IP:PORT that Tor will use for SRV queries - NOTE must have -; TCP resolution enabled. The current active DNS sever for Testnet listening is +; TCP resolution enabled. The current active DNS server for Testnet listening is ; nodes.lightning.directory ; tor.dns=nodes.lightning.directory