From 344f8d3e5fe4129dbc395ea1ba6f5c8e51abee6d Mon Sep 17 00:00:00 2001 From: Marco Stronati Date: Sun, 20 Jan 2019 09:22:52 +0100 Subject: [PATCH] Client: fix output of `show voting period` --- .../lib_client_commands/client_proto_context_commands.ml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/proto_alpha/lib_client_commands/client_proto_context_commands.ml b/src/proto_alpha/lib_client_commands/client_proto_context_commands.ml index 4cfcd6e6a..a4e19f202 100644 --- a/src/proto_alpha/lib_client_commands/client_proto_context_commands.ml +++ b/src/proto_alpha/lib_client_commands/client_proto_context_commands.ml @@ -765,8 +765,8 @@ let commands version () = Current in favor %ld, needed supermajority %ld" Data_encoding.Json.pp (Data_encoding.Json.construct Vote.ballots_encoding ballots_info.ballots) - ((Int32.to_float ballots_info.current_quorum) /. 100.) - ((Int32.to_float ballots_info.participation) /. 100.) + (Int32.to_float ballots_info.participation /. 100.) + (Int32.to_float ballots_info.current_quorum /. 100.) ballots_info.ballots.yay ballots_info.supermajority >>= fun () -> return_unit