bugfix
This commit is contained in:
parent
268afe939b
commit
646b9d868a
@ -93,7 +93,7 @@ class DataEncoder:
|
|||||||
if uncrypt:
|
if uncrypt:
|
||||||
return zlib.compress(b'\x00' * 18 + \
|
return zlib.compress(b'\x00' * 18 + \
|
||||||
bytes(chr(t),'utf-8') + \
|
bytes(chr(t),'utf-8') + \
|
||||||
data)
|
d)
|
||||||
pk = self.get_peer_pubkey(peer_id)
|
pk = self.get_peer_pubkey(peer_id)
|
||||||
print(peer_id, 'pk=', pk)
|
print(peer_id, 'pk=', pk)
|
||||||
d, k = self.encode_data(pk, d)
|
d, k = self.encode_data(pk, d)
|
||||||
|
Loading…
Reference in New Issue
Block a user