This commit is contained in:
Agnish Ghosh 2024-07-02 18:35:58 +05:30
parent 75c3e0b6d3
commit 77cc2ef358
No known key found for this signature in database
GPG Key ID: 7BDDA05D1B25E9F8
1 changed files with 6 additions and 6 deletions

View File

@ -609,14 +609,14 @@ proc validateDataColumnSidecar*(
# [REJECT] The sidecar's column data is valid as
# verified by `verify_data_column_kzg_proofs(sidecar)`
# block:
# let r = check_data_column_sidecar_kzg_proofs(data_column_sidecar)
# if r.isErr:
# return dag.checkedReject(r.error)
block:
let r = check_data_column_sidecar_kzg_proofs(data_column_sidecar)
if r.isErr:
return dag.checkedReject(r.error)
debugEcho "5"
# Send notification about new data column sidecar via callback
if not(isNil(dataColumnQuarantine.onDataColumnSidecarCallback)):
dataColumnQuarantine.onDataColumnSidecarCallback(data_column_sidecar)
# if not(isNil(dataColumnQuarantine.onDataColumnSidecarCallback)):
# dataColumnQuarantine.onDataColumnSidecarCallback(data_column_sidecar)
debugEcho "6"
ok()