Skip to content

Commit 66f61f1

Browse files
author
fi3
committed
Fix ChannelFactory add_job
1 parent 3875ee4 commit 66f61f1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

protocols/v2/roles-logic-sv2/src/channel_logic/channel_factory.rs

+1
Original file line numberDiff line numberDiff line change
@@ -259,6 +259,7 @@ impl ChannelFactory {
259259
self.id_to_job.retain(|_, v| *v != to_remove as u8);
260260
self.id_to_job.insert(job.job_id, to_remove as u8);
261261
self.last_valid_jobs[to_remove] = Some((job, group_ids));
262+
self.added_elements += 1;
262263
}
263264
_ => panic!("Internal error: invalid last_valid_jobs state"),
264265
}

0 commit comments

Comments
 (0)