From 7e28a337c2047eeee6f56fa264fa7d048d78d8b9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=90=D0=BD=D0=B4=D1=80=D0=B5=D0=B9=20=D0=92=D0=BB=D0=B0?= =?UTF-8?q?=D0=B4=D0=B8=D0=BC=D0=B8=D1=80=D0=BE=D0=B2=D0=B8=D1=87?= Date: Thu, 25 Feb 2016 14:47:23 +0300 Subject: [PATCH] public key fix fix --- src/tox.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tox.py b/src/tox.py index 1f070ae..87dff7e 100644 --- a/src/tox.py +++ b/src/tox.py @@ -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):