public key fix fix

This commit is contained in:
Андрей Владимирович 2016-02-25 14:47:23 +03:00
parent 5e951b3387
commit 7e28a337c2

View File

@ -311,7 +311,7 @@ class Tox(object):
"""
if public_key is None:
public_key = create_string_buffer(TOX_PUBLIC_KEY_SIZE)
Tox.libtoxcore.tox_self_get_address(self._tox_pointer, public_key)
Tox.libtoxcore.tox_self_get_public_key(self._tox_pointer, public_key)
return public_key
def self_get_secret_key(self, secret_key=None):