anchor.diff:      connect_node(net2_node1, net1, Cfg),
       connect_node(net2_node2, net1, Cfg),
   
  -    TargetHeight4 = MinedHeight3 + Length,
  +    TargetHeight4 = Top3 + Length,
       %% Wait for some extra blocks for resolving potential fork caused by nodes mining distinct blocks at the same time.
       wait_for_value({height, ExtraLength + TargetHeight4}, Nodes, (ExtraLength + Length) * ?MINING_TIMEOUT, Cfg),
       T1 = erlang:system_time(millisecond),
  
positive.code:     ?assertNotEqual(undefined, C1),
      ?assertNotEqual(undefined, C3),
  
  
      %% Reconnect the nodes together
      connect_node(net1_node1, net2, Cfg),
  
negative.code:               ?assertNotEqual(undefined, D1)
              end),
  
      #{height := Top4} = get_top(net1_node1),
      ct:log("Top reached ~p", [Top4]),
  
      ok.
  
  