From 6cfd00e7051b71623500d9c367891a03ef519d5c Mon Sep 17 00:00:00 2001 From: Vincent Botbol Date: Fri, 3 Aug 2018 15:39:20 +0200 Subject: [PATCH] Fix typos --- src/lib_rpc/RPC_context.ml | 2 +- src/proto_alpha/lib_protocol/test/helpers/context.ml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib_rpc/RPC_context.ml b/src/lib_rpc/RPC_context.ml index 3bb4ef9f7..6269153d8 100644 --- a/src/lib_rpc/RPC_context.ml +++ b/src/lib_rpc/RPC_context.ml @@ -176,7 +176,7 @@ let () = `Branch ~id:"RPC_context.Not_found" ~title:"RPC lookup failed" - ~description:"RPC lookup failed. No RPC exists at the URL or the RPC tried to access non-existant data." + ~description:"RPC lookup failed. No RPC exists at the URL or the RPC tried to access non-existent data." (obj2 (req "method" RPC_service.meth_encoding) (req "uri" uri_encoding)) diff --git a/src/proto_alpha/lib_protocol/test/helpers/context.ml b/src/proto_alpha/lib_protocol/test/helpers/context.ml index 67fb418f5..a7b21beda 100644 --- a/src/proto_alpha/lib_protocol/test/helpers/context.ml +++ b/src/proto_alpha/lib_protocol/test/helpers/context.ml @@ -101,7 +101,7 @@ let get_seed_nonce_hash ctxt = | B { header } -> header | I i -> Incremental.header i in match header.protocol_data.contents.seed_nonce_hash with - | None -> failwith "Ne committed nonce" + | None -> failwith "No committed nonce" | Some hash -> return hash let get_seed ctxt = Alpha_services.Seed.get rpc_ctxt ctxt