diff --git a/src/proto_alpha/lib_protocol/round_repr.ml b/src/proto_alpha/lib_protocol/round_repr.ml index 8a60fa3176841f3b4360a069c8d652768f8259b5..a7394e33715c4bff6715b453463c618771553f4a 100644 --- a/src/proto_alpha/lib_protocol/round_repr.ml +++ b/src/proto_alpha/lib_protocol/round_repr.ml @@ -71,7 +71,7 @@ let () = "Round cannot be built out of integer greater than maximum int32 value \ (%Ld)" i) - (obj1 (req "Negative_round" int64)) + (obj1 (req "Round_overflow" int64)) (function Round_overflow i -> Some (Int64.of_int i) | _ -> None) (fun i -> Round_overflow (Int64.to_int i))