Skip to content
Snippets Groups Projects
Commit eea8d236 authored by Jan David Mol's avatar Jan David Mol
Browse files

L2SS-244: explicitly expose payload_error, as it is an important field.

parent f805b90c
No related branches found
No related tags found
1 merge request!56L2SS-244: Expose the SSTs in MPs
......@@ -109,6 +109,10 @@ class StatisticsPacket(object):
"gn_index": get_bit_value(bits, 0, 4),
}
@property
def payload_error(self) -> bool:
return self.source_info["payload_error"] == 1
@property
def reserved(self) -> bytes:
""" Reserved bytes. """
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment