Merge pull request #4105 from carlaKC/lnrpc-formatroutingprotos

routerrpc: run rpc-format on routerrpc
This commit is contained in:
Johan T. Halseth authored and GitHub committed 2020-03-20 20:57:42 +01:00
commit 42638183d8
1 file changed
+8 -5
+8 -5
View File
@@ -333,8 +333,8 @@ message BuildRouteResponse {
lnrpc.Route route = 1; lnrpc.Route route = 1;
} }
message SubscribeHtlcEventsRequest {
message SubscribeHtlcEventsRequest{} }
/** /**
HtlcEvent contains the htlc event that was processed. These are served on a HtlcEvent contains the htlc event that was processed. These are served on a
@@ -414,9 +414,11 @@ message ForwardEvent{
HtlcInfo info = 1; HtlcInfo info = 1;
} }
message ForwardFailEvent{} message ForwardFailEvent {
}
message SettleEvent{} message SettleEvent {
}
message LinkFailEvent { message LinkFailEvent {
// Info contains details about the htlc that we failed. // Info contains details about the htlc that we failed.
@@ -521,5 +523,6 @@ service Router {
SubscribeHtlcEvents creates a uni-directional stream from the server to SubscribeHtlcEvents creates a uni-directional stream from the server to
the client which delivers a stream of htlc events. the client which delivers a stream of htlc events.
*/ */
rpc SubscribeHtlcEvents (SubscribeHtlcEventsRequest) returns (stream HtlcEvent); rpc SubscribeHtlcEvents (SubscribeHtlcEventsRequest)
returns (stream HtlcEvent);
} }