Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
Vagabond committed Jul 11, 2018
1 parent 567760a commit e5f9fa4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/hbbft_bba.erl
Original file line number Diff line number Diff line change
Expand Up @@ -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)}};
_ ->
Expand Down Expand Up @@ -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)}};
_ ->
Expand Down

0 comments on commit e5f9fa4

Please sign in to comment.