RPCs: fix encoding of list_invalid RPC

This commit is contained in:
Benjamin Canou 2017-11-26 22:59:57 +01:00 committed by Benjamin Canou
parent 9f45ae9126
commit 61f7a95102

View File

@ -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