From a908a74acb427b85b3065556d0671ed39addb1be Mon Sep 17 00:00:00 2001 From: Carsten Otto Date: Fri, 17 Jan 2020 21:12:02 +0000 Subject: [PATCH] Fix typos --- feature/deps.go | 2 +- lnrpc/routerrpc/router.pb.go | 2 +- lnrpc/routerrpc/router.proto | 2 +- lnrpc/routerrpc/router_backend.go | 2 +- lnrpc/rpc.pb.go | 4 ++-- lnrpc/rpc.proto | 4 ++-- lnrpc/rpc.swagger.json | 4 ++-- 7 files changed, 10 insertions(+), 10 deletions(-) diff --git a/feature/deps.go b/feature/deps.go index 6382ff33..343f3f60 100644 --- a/feature/deps.go +++ b/feature/deps.go @@ -82,7 +82,7 @@ func validateDeps(features featureSet, supported supportedFeatures) error { return NewErrMissingFeatureDep(bit) } - // Alternatively, if we know that this depdendency is valid, we + // Alternatively, if we know that this dependency is valid, we // can short circuit and continue verifying other bits. if checked { continue diff --git a/lnrpc/routerrpc/router.pb.go b/lnrpc/routerrpc/router.pb.go index 1be1423e..25aa0b09 100644 --- a/lnrpc/routerrpc/router.pb.go +++ b/lnrpc/routerrpc/router.pb.go @@ -260,7 +260,7 @@ type SendPaymentRequest struct { AllowSelfPayment bool `protobuf:"varint,15,opt,name=allow_self_payment,json=allowSelfPayment,proto3" json:"allow_self_payment,omitempty"` //* //Features assumed to be supported by the final node. All transitive feature - //depdencies must also be set properly. For a given feature bit pair, either + //dependencies must also be set properly. For a given feature bit pair, either //optional or remote may be set, but not both. If this field is nil or empty, //the router will try to load destination features from the graph as a //fallback. diff --git a/lnrpc/routerrpc/router.proto b/lnrpc/routerrpc/router.proto index 034ee2c5..bc5ad74d 100644 --- a/lnrpc/routerrpc/router.proto +++ b/lnrpc/routerrpc/router.proto @@ -108,7 +108,7 @@ message SendPaymentRequest { /** Features assumed to be supported by the final node. All transitive feature - depdencies must also be set properly. For a given feature bit pair, either + dependencies must also be set properly. For a given feature bit pair, either optional or remote may be set, but not both. If this field is nil or empty, the router will try to load destination features from the graph as a fallback. diff --git a/lnrpc/routerrpc/router_backend.go b/lnrpc/routerrpc/router_backend.go index 23cd32e0..4802902e 100644 --- a/lnrpc/routerrpc/router_backend.go +++ b/lnrpc/routerrpc/router_backend.go @@ -749,7 +749,7 @@ func unmarshallHopHint(rpcHint *lnrpc.HopHint) (zpay32.HopHint, error) { // UnmarshalFeatures converts a list of uint32's into a valid feature vector. // This method checks that feature bit pairs aren't assigned toegether, and -// validates transitive depdencies. +// validates transitive dependencies. func UnmarshalFeatures( rpcFeatures []lnrpc.FeatureBit) (*lnwire.FeatureVector, error) { diff --git a/lnrpc/rpc.pb.go b/lnrpc/rpc.pb.go index 696d0969..c1a95dc7 100644 --- a/lnrpc/rpc.pb.go +++ b/lnrpc/rpc.pb.go @@ -1228,7 +1228,7 @@ type SendRequest struct { AllowSelfPayment bool `protobuf:"varint,14,opt,name=allow_self_payment,json=allowSelfPayment,proto3" json:"allow_self_payment,omitempty"` //* //Features assumed to be supported by the final node. All transitive feature - //depdencies must also be set properly. For a given feature bit pair, either + //dependencies must also be set properly. For a given feature bit pair, either //optional or remote may be set, but not both. If this field is nil or empty, //the router will try to load destination features from the graph as a //fallback. @@ -5915,7 +5915,7 @@ type QueryRoutesRequest struct { RouteHints []*RouteHint `protobuf:"bytes,16,rep,name=route_hints,json=routeHints,proto3" json:"route_hints,omitempty"` //* //Features assumed to be supported by the final node. All transitive feature - //depdencies must also be set properly. For a given feature bit pair, either + //dependencies must also be set properly. For a given feature bit pair, either //optional or remote may be set, but not both. If this field is nil or empty, //the router will try to load destination features from the graph as a //fallback. diff --git a/lnrpc/rpc.proto b/lnrpc/rpc.proto index bc63c414..27e552ff 100644 --- a/lnrpc/rpc.proto +++ b/lnrpc/rpc.proto @@ -985,7 +985,7 @@ message SendRequest { /** Features assumed to be supported by the final node. All transitive feature - depdencies must also be set properly. For a given feature bit pair, either + dependencies must also be set properly. For a given feature bit pair, either optional or remote may be set, but not both. If this field is nil or empty, the router will try to load destination features from the graph as a fallback. @@ -2065,7 +2065,7 @@ message QueryRoutesRequest { /** Features assumed to be supported by the final node. All transitive feature - depdencies must also be set properly. For a given feature bit pair, either + dependencies must also be set properly. For a given feature bit pair, either optional or remote may be set, but not both. If this field is nil or empty, the router will try to load destination features from the graph as a fallback. diff --git a/lnrpc/rpc.swagger.json b/lnrpc/rpc.swagger.json index 9ed22f8d..73c3778a 100644 --- a/lnrpc/rpc.swagger.json +++ b/lnrpc/rpc.swagger.json @@ -831,7 +831,7 @@ }, { "name": "dest_features", - "description": "*\nFeatures assumed to be supported by the final node. All transitive feature\ndepdencies must also be set properly. For a given feature bit pair, either\noptional or remote may be set, but not both. If this field is nil or empty,\nthe router will try to load destination features from the graph as a\nfallback.", + "description": "*\nFeatures assumed to be supported by the final node. All transitive feature\ndependencies must also be set properly. For a given feature bit pair, either\noptional or remote may be set, but not both. If this field is nil or empty,\nthe router will try to load destination features from the graph as a\nfallback.", "in": "query", "required": false, "type": "array", @@ -4012,7 +4012,7 @@ "items": { "$ref": "#/definitions/lnrpcFeatureBit" }, - "description": "*\nFeatures assumed to be supported by the final node. All transitive feature\ndepdencies must also be set properly. For a given feature bit pair, either\noptional or remote may be set, but not both. If this field is nil or empty,\nthe router will try to load destination features from the graph as a\nfallback." + "description": "*\nFeatures assumed to be supported by the final node. All transitive feature\ndependencies must also be set properly. For a given feature bit pair, either\noptional or remote may be set, but not both. If this field is nil or empty,\nthe router will try to load destination features from the graph as a\nfallback." } } },