Proto_alpha: fix typo "unpexpected"

This commit is contained in:
bruno 2018-03-14 11:11:55 +01:00 committed by Benjamin Canou
parent 8364e27142
commit 226a9a1778

View File

@ -87,11 +87,11 @@ let () =
register_error_kind register_error_kind
`Temporary `Temporary
~id:"operation.invalid_endorsement_level" ~id:"operation.invalid_endorsement_level"
~title:"Unpexpected level in endorsement" ~title:"Unexpected level in endorsement"
~description:"The level of an endorsement is inconsistent with the \ ~description:"The level of an endorsement is inconsistent with the \
\ provided block hash." \ provided block hash."
~pp:(fun ppf () -> ~pp:(fun ppf () ->
Format.fprintf ppf "Unpexpected level in endorsement.") Format.fprintf ppf "Unexpected level in endorsement.")
Data_encoding.unit Data_encoding.unit
(function Invalid_endorsement_level -> Some () | _ -> None) (function Invalid_endorsement_level -> Some () | _ -> None)
(fun () -> Invalid_endorsement_level) ; (fun () -> Invalid_endorsement_level) ;