From d340b6a70650660852f809c794e1cf6d1b354456 Mon Sep 17 00:00:00 2001 From: Scott Lystig Fritchie Date: Wed, 12 Aug 2015 17:36:13 +0900 Subject: [PATCH] WIP: Duh, fix think-o in a40_latest_author_down() --- src/machi_chain_manager1.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/machi_chain_manager1.erl b/src/machi_chain_manager1.erl index 636b1cc..ece9372 100644 --- a/src/machi_chain_manager1.erl +++ b/src/machi_chain_manager1.erl @@ -1247,7 +1247,7 @@ a40_latest_author_down(#projection_v1{author_server=LatestAuthor}=_P_latest, %% bogus, we cannot use it here. {Up, _Partitions, _RunEnv2} = calc_up_nodes(MyName, AllMembers, RunEnv), ?REACT({a40,?LINE,[{latest_author,LatestAuthor}, {up,Up}]}), - lists:member(LatestAuthor, Up); + not lists:member(LatestAuthor, Up); a40_latest_author_down(#projection_v1{author_server=LatestAuthor}=_P_latest, #projection_v1{down=NewPropDown}=_P_newprop, _S) -> lists:member(LatestAuthor, NewPropDown).