skip introducers for non-SSU address

This commit is contained in:
orignal 2019-05-11 07:27:34 -04:00
parent 3b8baa85a3
commit 1472637de7

View File

@ -259,6 +259,11 @@ namespace data
else if (key[0] == 'i')
{
// introducers
if (!address->ssu)
{
LogPrint (eLogError, "RouterInfo: Introducer is presented for non-SSU address. Skipped");
continue;
}
introducers = true;
size_t l = strlen(key);
unsigned char index = key[l-1] - '0'; // TODO: