Bugfix: update inner projection based on *previous inner* projection

This commit is contained in:
Scott Lystig Fritchie 2015-07-06 17:38:15 +09:00
parent 3f8982cbe1
commit 9d4b4b1df6

View file

@ -896,7 +896,10 @@ react_to_env_A30(Retries, P_latest, LatestUnanimousP, _ReadExtra,
case get_flap_count(P_newprop3) of
{_, P_newprop3_flap_count} when P_newprop3_flap_count >= FlapLimit ->
AllHosed = get_all_hosed(P_newprop3),
{P_i, S_i} = calc_projection(S3, MyName, AllHosed),
P_current_inner = inner_projection_or_self(P_current),
{P_i, S_i} = calc_projection(unused, unused,
P_current_inner,
MyName, AllHosed, [], S),
%% The inner projection will have a fake author, which
%% everyone will agree is the largest UPI member's
%% name.