0
0
mirror of https://github.com/monero-project/kovri synced 2025-10-05 16:22:54 +02:00

Merge pull request #998

179ee73d SSUSession: get either IPv4/6 intro key from remote (anonimal)
This commit is contained in:
anonimal
2018-08-01 22:49:38 +00:00

View File

@@ -1655,7 +1655,7 @@ const std::uint8_t* SSUSession::GetIntroKey() const
{
LOG(debug) << "SSUSession: " << __func__ << ": using remote's key";
auto* const address =
m_RemoteRouter->GetAddress(m_RemoteRouter->HasV6(), Transport::SSU);
m_RemoteRouter->GetAnyAddress(m_RemoteRouter->HasV6(), Transport::SSU);
assert(address); // TODO(anonimal): SSU should be guaranteed
return address->key;
}