From 2023bac4ef13585431f1d2653f7ade4708f0faa4 Mon Sep 17 00:00:00 2001 From: Rahul Garg Date: Tue, 8 May 2018 13:06:32 -0700 Subject: [PATCH] fix typo --- src/hbbft_bba.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hbbft_bba.erl b/src/hbbft_bba.erl index 15645db..b930428 100644 --- a/src/hbbft_bba.erl +++ b/src/hbbft_bba.erl @@ -152,7 +152,7 @@ bval(Data=#bba_data{n=N, f=F}, Id, V) -> case threshold(N, F, NewData3, aux) of true -> %% check if we have n-f conf messages - case threshold(F, F, NewData3, conf) of + case threshold(N, F, NewData3, conf) of %% instantiate the common coin true when NewData3#bba_data.coin == undefined -> %% TODO need more entropy for the SID