From ebb3e987b17a7956c73b62e9089df93d100668be Mon Sep 17 00:00:00 2001 From: Olaoluwa Osuntokun Date: Fri, 23 Aug 2019 16:36:35 -0700 Subject: [PATCH] lnrpc/routerrpc: complete JSON naming for mc responses --- lnrpc/routerrpc/router.proto | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lnrpc/routerrpc/router.proto b/lnrpc/routerrpc/router.proto index e7963529..d09b6867 100644 --- a/lnrpc/routerrpc/router.proto +++ b/lnrpc/routerrpc/router.proto @@ -333,10 +333,10 @@ message QueryMissionControlRequest {} /// QueryMissionControlResponse contains mission control state. message QueryMissionControlResponse { /// Node-level mission control state. - repeated NodeHistory nodes = 1; + repeated NodeHistory nodes = 1 [json_name = "nodes"]; /// Node pair-level mission control state. - repeated PairHistory pairs = 2; + repeated PairHistory pairs = 2 [json_name = "pairs"]; } /// NodeHistory contains the mission control state for a particular node. @@ -359,7 +359,7 @@ message NodeHistory { /// PairHistory contains the mission control state for a particular node pair. message PairHistory { /// The source node pubkey of the pair. - bytes node_from = 1 [json_name="node_from"]; + bytes node_from = 1 [json_name ="node_from"]; /// The destination node pubkey of the pair. bytes node_to = 2 [json_name="node_to"];