Use the address book for conversion into .b32.i2p

This commit is contained in:
Francisco Blas (klondike) Izquierdo Riera 2015-01-05 12:36:09 +01:00
parent 8812a45607
commit cb94d43092
5 changed files with 11 additions and 9 deletions

View file

@ -48,7 +48,7 @@ namespace client
}
m_Pool = i2p::tunnel::tunnels.CreateTunnelPool (this, inboundTunnelLen, outboundTunnelLen);
if (m_IsPublic)
LogPrint (eLogInfo, "Local address ", GetIdentHash ().ToBase32 (), ".b32.i2p created");
LogPrint (eLogInfo, "Local address ", i2p::client::context.GetAddressBook ().ToAddress(GetIdentHash()), " created");
m_StreamingDestination = new i2p::stream::StreamingDestination (*this); // TODO:
}
@ -245,7 +245,7 @@ namespace client
delete it1->second;
m_LeaseSetRequests.erase (it1);
}
}
}
void ClientDestination::HandleDatabaseSearchReplyMessage (const uint8_t * buf, size_t len)
{