GetIdentity for RoutingDestination

This commit is contained in:
orignal 2017-11-02 14:50:57 -04:00
parent 00bbb81375
commit 5aa53eee43
3 changed files with 6 additions and 5 deletions

View file

@ -185,7 +185,7 @@ namespace data
bool IsFamily(const std::string & fam) const;
// implements RoutingDestination
const IdentHash& GetIdentHash () const { return m_RouterIdentity->GetIdentHash (); };
std::shared_ptr<const IdentityEx> GetIdentity () const { return m_RouterIdentity; };
const uint8_t * GetEncryptionPublicKey () const { return m_RouterIdentity->GetStandardIdentity ().publicKey; };
bool IsDestination () const { return false; };