pass local LeaseSet as const

This commit is contained in:
orignal 2014-03-20 09:47:02 -04:00
parent a34d1de10e
commit 25f2f932b0
5 changed files with 16 additions and 15 deletions

View file

@ -112,7 +112,7 @@ namespace stream
const i2p::data::PrivateKeys& GetKeys () const { return m_Keys; };
const i2p::data::Identity& GetIdentity () const { return m_Keys.pub; };
I2NPMessage * GetLeaseSet ();
const I2NPMessage * GetLeaseSet ();
i2p::tunnel::TunnelPool * GetTunnelPool () const { return m_Pool; };
void Sign (uint8_t * buf, int len, uint8_t * signature) const;