We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9383251 commit 2c59b31Copy full SHA for 2c59b31
sogs/events.py
@@ -34,7 +34,7 @@ def _user_from_conn(conn):
34
"""
35
make a model.User from a connection using its curve pubkey as the session id.
36
37
- return model.User(session_id='05' + hexlify(conn.pubkey).decode())
+ return model.User(session_id='05' + conn.pubkey.hex())
38
39
40
def _maybe_serialize(data):
0 commit comments