Update IPR sig

This commit is contained in:
durch
2024-06-18 11:58:03 +02:00
parent 36e8468b73
commit bc28cc70b7
@@ -605,7 +605,7 @@ impl MixnetListener {
// When an incoming mixnet message triggers a response that we send back, such as during
// connect handshake.
async fn handle_response(&self, response: IpPacketResponse) -> Result<()> {
async fn handle_response(&mut self, response: IpPacketResponse) -> Result<()> {
let Some(recipient) = response.recipient() else {
log::error!("No recipient in response packet, this should NOT happen!");
return Err(IpPacketRouterError::NoRecipientInResponse);
@@ -635,7 +635,7 @@ impl MixnetListener {
// A single incoming request can trigger multiple responses, such as when data requests contain
// multiple IP packets.
async fn handle_responses(&self, responses: Vec<PacketHandleResult>) {
async fn handle_responses(&mut self, responses: Vec<PacketHandleResult>) {
for response in responses {
match response {
Ok(Some(response)) => {