RPCs: fix encoding of list_invalid RPC
This commit is contained in:
parent
9f45ae9126
commit
61f7a95102
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user