From e5f9fa4e3ec5f54cc25c636b2575a316cafcfcf9 Mon Sep 17 00:00:00 2001 From: Andrew Thompson Date: Tue, 10 Jul 2018 17:03:01 -0700 Subject: [PATCH] Fix typo --- src/hbbft_bba.erl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/hbbft_bba.erl b/src/hbbft_bba.erl index ad6ceb4..9f57496 100644 --- a/src/hbbft_bba.erl +++ b/src/hbbft_bba.erl @@ -190,7 +190,7 @@ bval(Data=#bba_data{n=N, f=F}, Id, V) -> %% instantiate the common coin true -> %% TODO need more entropy for the SID - %% We have enough AUX and CON messages to reveal our share of the coin + %% We have enough AUX and CONF messages to reveal our share of the coin {CoinData, {send, CoinSend}} = hbbft_cc:get_coin(maybe_init_coin(NewData3)), {NewData3#bba_data{coin=CoinData, coin_sent=true}, {send, ToSend2 ++ hbbft_utils:wrap({coin, Data#bba_data.round}, CoinSend)}}; _ -> @@ -231,7 +231,7 @@ conf(Data = #bba_data{n=N, f=F}, Id, V) -> true -> %% instantiate the common coin %% TODO need more entropy for the SID - %% We have enough AUX and CON messages to reveal our share of the coin + %% We have enough AUX and CONF messages to reveal our share of the coin {CoinData, {send, ToSend}} = hbbft_cc:get_coin(maybe_init_coin(NewData)), {NewData#bba_data{coin=CoinData, coin_sent=true}, {send, hbbft_utils:wrap({coin, NewData#bba_data.round}, ToSend)}}; _ ->