From 61f7a9510207bd29a3e1ea55732ea8c99b3fa7cf Mon Sep 17 00:00:00 2001 From: Benjamin Canou Date: Sun, 26 Nov 2017 22:59:57 +0100 Subject: [PATCH] RPCs: fix encoding of list_invalid RPC --- src/node/shell/node_rpc_services.ml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/node/shell/node_rpc_services.ml b/src/node/shell/node_rpc_services.ml index 527affc08..fd0e4fa8c 100644 --- a/src/node/shell/node_rpc_services.ml +++ b/src/node/shell/node_rpc_services.ml @@ -416,7 +416,7 @@ module Blocks = struct (obj3 (req "block" Block_hash.encoding) (req "level" int32) - (req "errors" (Data_encoding.list error_encoding)))) + (req "errors" Error.encoding))) RPC.Path.(root / "invalid_blocks") end