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