Client: fix output of show voting period

This commit is contained in:
Marco Stronati 2019-01-20 09:22:52 +01:00 committed by Grégoire Henry
parent 4d3174c557
commit 344f8d3e5f
No known key found for this signature in database
GPG Key ID: 50D984F20BD445D2

View File

@ -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