From 7fabac67144f946d50ccc59b9e205bda1da5ce89 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gr=C3=A9goire=20Henry?= Date: Thu, 22 Mar 2018 14:12:47 +0100 Subject: [PATCH] Alpha/RPC: fix typo in the RPC for parsing and forging. --- src/proto_alpha/lib_protocol/src/helpers_services.ml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/proto_alpha/lib_protocol/src/helpers_services.ml b/src/proto_alpha/lib_protocol/src/helpers_services.ml index 7929fb6ea..f28088943 100644 --- a/src/proto_alpha/lib_protocol/src/helpers_services.ml +++ b/src/proto_alpha/lib_protocol/src/helpers_services.ml @@ -266,7 +266,7 @@ module Forge = struct (obj1 (req "operation" @@ describe ~title: "hex encoded operation" bytes)) - RPC_path.(custom_root / "forge" / "operations" ) + RPC_path.(custom_root / "operations" ) let empty_proof_of_work_nonce = MBytes.of_string @@ -285,7 +285,7 @@ module Forge = struct Alpha_context.Constants.proof_of_work_nonce_size) empty_proof_of_work_nonce)) ~output: (obj1 (req "protocol_data" bytes)) - RPC_path.(custom_root / "forge" / "protocol_data") + RPC_path.(custom_root / "protocol_data") end @@ -449,7 +449,7 @@ module Parse = struct (req "operations" (list (dynamic_size Operation.raw_encoding))) (opt "check_signature" bool)) ~output: (list (dynamic_size Operation.encoding)) - RPC_path.(custom_root / "parse" / "operations" ) + RPC_path.(custom_root / "operations" ) let block = RPC_service.post_service @@ -457,7 +457,7 @@ module Parse = struct ~query: RPC_query.empty ~input: Block_header.raw_encoding ~output: Block_header.protocol_data_encoding - RPC_path.(custom_root / "parse" / "block" ) + RPC_path.(custom_root / "block" ) end