anchor.diff:      {ok, Conn5} = ?assertCalled(connect, [#{ r_pubkey := PubKey1 }], {ok, _}, 1200),
   
       {ok, Conn6} = test_mgr_start_inbound(Peer1),
  -    ?assertEqual(permanent, conn_peer_accepted(Conn6)),
  +    ?assertEqual(permanent, conn_peer_accepted(Conn6, maps:get(host, Peer1))),
       ?assertCalled(disconnect, [Conn5], ok, 100),
   
       ?assertEqual(1, aec_peers:count(connections)),
  
positive.code: 
      aec_peers:block_peer(Peer1),
      {ok, Conn6} = test_mgr_start_inbound(Peer1),
      ?assertEqual({error, blocked}, conn_peer_accepted(Conn6)),
      timer:sleep(1000),
      {ok, Conn7} = test_mgr_start_inbound(Peer1),
      ?assertEqual({error, blocked}, conn_peer_accepted(Conn7)),
      timer:sleep(1100),
      {ok, Conn8} = test_mgr_start_inbound(Peer1),
      ?assertEqual(permanent, conn_peer_accepted(Conn8)),
  
      % Test peers are unblocked when connecting to a peer after interval.
  
  
negative.code:                     cast(Parent, stopped, self()),
                      reply(From, Result)
              end;
          {From, peer_accepted, [Host]} ->
              #{ parent := Parent, info := Info } = S,
              {ok, Addr} = inet:parse_address(Host),
              case aec_peers:peer_accepted(Info, Addr, self()) of
                  R when R =:= permanent; R =:= temporary ->
                      S2 = S#{ connected := true },
                      reply(From, R),
  