@@ -176,20 +176,20 @@ async fn send_submit_block(
176
176
}
177
177
178
178
if let Some ( blobs) = & block_response. data . blobs_bundle {
179
- let expected_committments = & signed_blinded_block. message . body . blob_kzg_commitments ;
180
- if expected_committments . len ( ) != blobs. blobs . len ( ) ||
181
- expected_committments . len ( ) != blobs. commitments . len ( ) ||
182
- expected_committments . len ( ) != blobs. proofs . len ( )
179
+ let expected_commitments = & signed_blinded_block. message . body . blob_kzg_commitments ;
180
+ if expected_commitments . len ( ) != blobs. blobs . len ( ) ||
181
+ expected_commitments . len ( ) != blobs. commitments . len ( ) ||
182
+ expected_commitments . len ( ) != blobs. proofs . len ( )
183
183
{
184
184
return Err ( PbsError :: Validation ( ValidationError :: KzgCommitments {
185
- expected_blobs : expected_committments . len ( ) ,
185
+ expected_blobs : expected_commitments . len ( ) ,
186
186
got_blobs : blobs. blobs . len ( ) ,
187
187
got_commitments : blobs. commitments . len ( ) ,
188
188
got_proofs : blobs. proofs . len ( ) ,
189
189
} ) ) ;
190
190
}
191
191
192
- for ( i, comm) in expected_committments . iter ( ) . enumerate ( ) {
192
+ for ( i, comm) in expected_commitments . iter ( ) . enumerate ( ) {
193
193
// this is safe since we already know they are the same length
194
194
if * comm != blobs. commitments [ i] {
195
195
return Err ( PbsError :: Validation ( ValidationError :: KzgMismatch {
0 commit comments