mirror of
https://github.com/logos-blockchain/logos-blockchain-specs.git
synced 2026-05-18 07:09:36 +00:00
Update mixnet/nomssip.py
Co-authored-by: Daniel Sanchez <sanchez.quiros.daniel@gmail.com>
This commit is contained in:
parent
e964721453
commit
5b41c3d3cc
@ -116,4 +116,4 @@ class Nomssip:
|
|||||||
"""
|
"""
|
||||||
if len(data) < 1:
|
if len(data) < 1:
|
||||||
raise ValueError("Invalid message format")
|
raise ValueError("Invalid message format")
|
||||||
return (Nomssip.PacketType(data[:1]), data[1:])
|
return (Nomssip.PacketType(data[0]), data[1:])
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user