change status back to Testing from Unknow if next test was accepted

This commit is contained in:
orignal 2022-08-12 16:12:30 -04:00
parent 81f53d313c
commit 3ae885d120

View file

@ -2001,6 +2001,8 @@ namespace transport
{
if (buf[1] == eSSU2PeerTestCodeAccept)
{
if (GetRouterStatus () == eRouterStatusUnknown)
SetRouterStatus (eRouterStatusTesting);
auto r = i2p::data::netdb.FindRouter (buf + 3); // find Charlie
if (r && it->second.first)
{