File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
core/node/external_proof_integration_api/src Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ pub(crate) struct ProofGenerationDataResponse(ProofGenerationData);
25
25
impl IntoResponse for ProofGenerationDataResponse {
26
26
fn into_response ( self ) -> Response {
27
27
let l1_batch_number = self . 0 . l1_batch_number ;
28
- let data = match bincode:: serialize ( & self . 0 . witness_input_data ) {
28
+ let data = match bincode:: serialize ( & self . 0 ) {
29
29
Ok ( data) => data,
30
30
Err ( err) => {
31
31
return ProcessorError :: Serialization ( err) . into_response ( ) ;
@@ -171,7 +171,7 @@ impl Processor {
171
171
return Err ( ProcessorError :: BatchNotReady ( l1_batch_number) ) ;
172
172
}
173
173
174
- self . proof_generation_data_for_existing_batch_internal ( l1_batch_number )
174
+ self . proof_generation_data_for_existing_batch_internal ( latest_available_batch )
175
175
. await
176
176
. map ( ProofGenerationDataResponse )
177
177
}
You can’t perform that action at this time.
0 commit comments