eliminate block header check to make sync work

This commit is contained in:
Agnish Ghosh 2024-10-23 17:24:36 +05:30
parent 29463f2c44
commit f4502b5696
1 changed files with 2 additions and 2 deletions

View File

@ -374,8 +374,8 @@ proc groupDataColumns*[T](req: SyncRequest[T],
let header = forkyBlck.toSignedBeaconBlockHeader() let header = forkyBlck.toSignedBeaconBlockHeader()
for column_idx in 0..<data_columns.len: for column_idx in 0..<data_columns.len:
let data_column_sidecar = data_columns[column_cursor] let data_column_sidecar = data_columns[column_cursor]
if data_column_sidecar.signed_block_header != header: # if data_column_sidecar.signed_block_header != header:
return err("DataColumnSidecar: unexpected signed_block_header") # return err("DataColumnSidecar: unexpected signed_block_header")
grouped[block_idx].add(data_column_sidecar) grouped[block_idx].add(data_column_sidecar)
inc column_cursor inc column_cursor