one more bit

This commit is contained in:
Simon Wicky
2026-05-20 11:14:44 +02:00
parent 7c0264b839
commit ca031af69a
3 changed files with 4 additions and 4 deletions
Generated
+1 -1
View File
@@ -7284,7 +7284,7 @@ dependencies = [
"bytes",
"futures",
"nym-ip-packet-requests",
"nym-lp",
"nym-lp-data",
"nym-sdk",
"thiserror 2.0.18",
"tokio",
+1 -1
View File
@@ -26,4 +26,4 @@ tracing.workspace = true
nym-sdk = { workspace = true }
nym-ip-packet-requests = { workspace = true }
nym-lp = { workspace = true }
nym-lp-data = { workspace = true }
+2 -2
View File
@@ -1,6 +1,6 @@
use bytes::BytesMut;
use nym_ip_packet_requests::SPHINX_STREAM_VERSION_THRESHOLD;
use nym_lp::packet::frame::{
use nym_lp_data::packet::frame::{
LpFrame, LpFrameHeader, LpFrameKind, SphinxStreamFrameAttributes, SphinxStreamMsgType,
};
use nym_sdk::mixnet::ReconstructedMessage;
@@ -65,7 +65,7 @@ pub fn encode_stream_frame(stream_id: u64, sequence_num: u32, payload: Vec<u8>)
#[cfg(test)]
mod tests {
use super::*;
use nym_lp::packet::frame::SphinxStreamFrameAttributes;
use nym_lp_data::packet::frame::SphinxStreamFrameAttributes;
#[test]
fn stream_frame_roundtrip_unwraps_payload() {