You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"Connection was closed before receive() processed all sent messages ".to_string(),
118
+
)));
115
119
break;
116
120
}
117
121
@@ -126,16 +130,25 @@ pub async fn receive(
126
130
}
127
131
};
128
132
129
-
let related_verification_data = matchmatch_batcher_response_with_stored_verification_data(&batch_inclusion_data_message,&mut sent_verification_data_rev){
133
+
let related_verification_data = matchmatch_batcher_response_with_stored_verification_data(
134
+
&batch_inclusion_data_message,
135
+
&mut sent_verification_data_rev,
136
+
){
130
137
Ok(data) => data,
131
138
Err(e) => {
132
-
warn!("Error while matching batcher response with sent data: {:?}", e);
139
+
warn!(
140
+
"Error while matching batcher response with sent data: {:?}",
141
+
e
142
+
);
133
143
aligned_submitted_data.push(Err(e));
134
144
break;
135
145
}
136
146
};
137
147
138
-
let aligned_verification_data = matchprocess_batcher_response(&batch_inclusion_data_message,&related_verification_data){
148
+
let aligned_verification_data = matchprocess_batcher_response(
149
+
&batch_inclusion_data_message,
150
+
&related_verification_data,
151
+
){
139
152
Ok(data) => data,
140
153
Err(e) => {
141
154
warn!("Error while processing batcher response: {:?}", e);
debug!("Matching verification data with batcher response ...");
256
269
letmut index = None;
257
-
for(i, sent_nonced_verification_data)in sent_verification_data_rev.iter_mut().enumerate().rev(){// iterate in reverse since the last element is the most probable to match
0 commit comments