Alpha: fix error message for origination amount too low.

This commit is contained in:
Milo Davis 2017-07-24 15:03:30 +02:00 committed by Benjamin Canou
parent 26a5338b86
commit 74f23b238d

View File

@ -27,7 +27,7 @@ let () =
~pp:(fun ppf (c, r, p) -> ~pp:(fun ppf (c, r, p) ->
Format.fprintf ppf "Initial amount of contract %a too low (required %a but provided %a)" Format.fprintf ppf "Initial amount of contract %a too low (required %a but provided %a)"
Contract_repr.pp c Contract_repr.pp c
Tez_repr.pp r Tez_repr.pp p) Tez_repr.pp p Tez_repr.pp r)
Data_encoding.(obj3 Data_encoding.(obj3
(req "contract" Contract_repr.encoding) (req "contract" Contract_repr.encoding)
(req "required" Tez_repr.encoding) (req "required" Tez_repr.encoding)