unexpected mistake

This commit is contained in:
Agnish Ghosh 2024-10-08 05:12:41 +05:30
parent 1e2b8dac6d
commit cc64081c3f
1 changed files with 1 additions and 1 deletions

View File

@ -387,7 +387,7 @@ proc verify_data_column_sidecar_kzg_proofs*(sidecar: DataColumnSidecar):
## Verify if the KZG Proofs consisting in the `DataColumnSidecar`
## is valid or not.
if not (sidecar.kzg_commitments.len == 0):
if (sidecar.kzg_commitments.len == 0):
return err("Kzg commitments length cannot be 0")
# Check if the data column sidecar index < NUMBER_OF_COLUMNS