Added changes for debug

This commit is contained in:
xavo95 2025-03-08 17:01:11 +01:00
parent 1c951fe392
commit 042098295a
Signed by: xavo95
GPG key ID: CBF8ADED6DEBB783

View file

@ -174,7 +174,7 @@ impl Message {
}
}
pub fn get_payload(&mut self) -> Option<&Box<[u8]>> {
pub fn get_payload(&self) -> Option<&Box<[u8]>> {
match self {
Self::Request { payload, .. }
| Self::Response { payload, .. }