public key fix fix
This commit is contained in:
parent
5e951b3387
commit
7e28a337c2
@ -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):
|
||||
|
Loading…
Reference in New Issue
Block a user