From a7db3a26c6664c52548734b2b37998402e942447 Mon Sep 17 00:00:00 2001 From: Scott Lystig Fritchie Date: Sun, 30 Aug 2015 00:04:13 +0900 Subject: [PATCH] Bugfix: a30_make_inner_projection() compatible inner if not none proj --- src/machi_chain_manager1.erl | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/machi_chain_manager1.erl b/src/machi_chain_manager1.erl index e1285b3..290dc8e 100644 --- a/src/machi_chain_manager1.erl +++ b/src/machi_chain_manager1.erl @@ -1429,6 +1429,8 @@ a30_make_inner_projection(P_current, P_newprop3, P_latest, Up, %% ({UPI_latest_i, Repairing_latest_i} == %% {UPI_current_x, Repairing_current_x}) %% andalso + UPI_latest_i /= [] % avoid hasty none proj jump + andalso Epoch_latest_i >= P_current_ios#projection_v1.epoch_number, CurrentHasInner_and_LatestIsDisjoint_p = P_current_has_inner_p