From f746b752546498a7f7b2dec74bb33efe0d59afe9 Mon Sep 17 00:00:00 2001 From: Scott Lystig Fritchie Date: Fri, 10 Jul 2015 20:25:44 +0900 Subject: [PATCH] Bugfix: A30: if Kicker_p only true if we actually have an inner proj! --- src/machi_chain_manager1.erl | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/machi_chain_manager1.erl b/src/machi_chain_manager1.erl index 99f3e13..0234eb1 100644 --- a/src/machi_chain_manager1.erl +++ b/src/machi_chain_manager1.erl @@ -1029,7 +1029,11 @@ react_to_env_A30(Retries, P_latest, LatestUnanimousP, _ReadExtra, Kicker_p = case {Latest_authors_flap_count_current, Latest_authors_flap_count_latest} of {NotUndef, undefined} when NotUndef /= undefined -> - true; + %% OK, someone else has switched from non-zero flap + %% count to zero flap count. But ... do not kick out + %% of our flapping mode locally if we do not have an + %% inner projection. + inner_projection_exists(P_current); {_, _} -> false end,