public key fix fix
This commit is contained in:
parent
5e951b3387
commit
7e28a337c2
1 changed files with 1 additions and 1 deletions
|
@ -311,7 +311,7 @@ class Tox(object):
|
||||||
"""
|
"""
|
||||||
if public_key is None:
|
if public_key is None:
|
||||||
public_key = create_string_buffer(TOX_PUBLIC_KEY_SIZE)
|
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
|
return public_key
|
||||||
|
|
||||||
def self_get_secret_key(self, secret_key=None):
|
def self_get_secret_key(self, secret_key=None):
|
||||||
|
|
Loading…
Reference in a new issue