handle .i2p address for BOB inbound connections

This commit is contained in:
orignal 2014-12-04 14:16:33 -05:00
parent 08762870b4
commit 519330015f
2 changed files with 13 additions and 4 deletions

View file

@ -182,9 +182,15 @@ namespace client
ident = *identHash;
return true;
}
else
return false;
}
}
return false;
// if not .b32 we assume full base64 address
i2p::data::IdentityEx dest;
dest.FromBase64 (address);
ident = dest.GetIdentHash ();
return true;
}
const i2p::data::IdentHash * AddressBook::FindAddress (const std::string& address)