Skip to content

Commit 2c59b31

Browse files
majestratejagerman
andauthored
Update sogs/events.py
Co-authored-by: Jason Rhinelander <[email protected]>
1 parent 9383251 commit 2c59b31

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sogs/events.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ def _user_from_conn(conn):
3434
"""
3535
make a model.User from a connection using its curve pubkey as the session id.
3636
"""
37-
return model.User(session_id='05' + hexlify(conn.pubkey).decode())
37+
return model.User(session_id='05' + conn.pubkey.hex())
3838

3939

4040
def _maybe_serialize(data):

0 commit comments

Comments
 (0)