diff --git a/src/machi_chain_manager1.erl b/src/machi_chain_manager1.erl index 290dc8e..2e443d4 100644 --- a/src/machi_chain_manager1.erl +++ b/src/machi_chain_manager1.erl @@ -2266,8 +2266,7 @@ calculate_flaps(P_newprop, P_latest, _P_current, CurrentUp, _FlapLimit, [X || {_FLU, {{_FlEpk,FlTime}, _FlapCount}}=X <- RemoteTransFlapCounts1, FlTime /= ?NOT_FLAPPING], TempNewFlapCount = FlapCount + 1, - TempAllFlapCounts = lists:sort([{MyName, {FlapStart, TempNewFlapCount}}| - RemoteTransFlapCounts]), + TempAllFlapCounts = lists:sort([{MyName, FlapStart}|RemoteTransFlapCounts]), %% Sanity check. true = lists:all(fun({_FLU,{_EpkTime,_Count}}) -> true; (_) -> false