From b9921c8610af1f6be8d7aa95b9ce59576fd1fc83 Mon Sep 17 00:00:00 2001 From: yumoqing Date: Thu, 15 Jul 2021 14:45:53 +0800 Subject: [PATCH] bugfix --- kivyblocks/udp_widget.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/kivyblocks/udp_widget.py b/kivyblocks/udp_widget.py index f3a5cae..5688140 100644 --- a/kivyblocks/udp_widget.py +++ b/kivyblocks/udp_widget.py @@ -101,10 +101,12 @@ class UdpWidget(EventDispatcher): def set_pubkey(self, data, addr): pk = data['d']['pubkey'] id = addr[0] + print('set_pubkey(): ', id, pk) self.dataencoder.set_peer_text_pubkey(id, pk) def resp_pubkey(self, data, addr): set_pubkey(data, addr) + print('resp_pubkey():', addr[0]) data = { 'c':'set_pubkey', 'd':{