File tree Expand file tree Collapse file tree 1 file changed +1
-5
lines changed
batcher/aligned-sdk/src/communication Expand file tree Collapse file tree 1 file changed +1
-5
lines changed Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ const TIME_BETWEEN_RETRIES: u64 = 10;
1717pub fn handle_batch_inclusion_data (
1818 batch_inclusion_data : BatchInclusionData ,
1919 aligned_verification_data : & mut Vec < AlignedVerificationData > ,
20- verification_data_commitments_rev : & mut Vec < VerificationDataCommitment > ,
20+ verification_data_commitment : VerificationDataCommitment ,
2121) -> Result < ( ) , errors:: SubmitError > {
2222 debug ! ( "Received response from batcher" ) ;
2323 debug ! (
@@ -26,10 +26,6 @@ pub fn handle_batch_inclusion_data(
2626 ) ;
2727 debug ! ( "Index in batch: {}" , batch_inclusion_data. index_in_batch) ;
2828
29- let verification_data_commitment = verification_data_commitments_rev
30- . pop ( )
31- . ok_or_else ( || errors:: SubmitError :: EmptyVerificationDataCommitments ) ?;
32-
3329 if verify_response ( & verification_data_commitment, & batch_inclusion_data) {
3430 aligned_verification_data. push ( AlignedVerificationData :: new (
3531 & verification_data_commitment,
You can’t perform that action at this time.
0 commit comments