fix
This commit is contained in:
parent
57bcfdf13e
commit
4a5995797f
|
@ -131,7 +131,7 @@ func hasMissingDataColumns*(quarantine: DataColumnQuarantine,
|
|||
max(SAMPLES_PER_SLOT.uint64,
|
||||
localSubnetCount))
|
||||
for i in localCustodyColumns:
|
||||
if (blck.root, ColumnIndex i) notin quarantine.data_columns and
|
||||
if (blck.root, ColumnIndex i) in quarantine.data_columns and
|
||||
len(blck.message.body.blob_kzg_commitments) != 0:
|
||||
inc counter
|
||||
if quarantine.supernode and counter == NUMBER_OF_COLUMNS:
|
||||
|
|
|
@ -406,7 +406,7 @@ proc processDataColumnSidecar*(
|
|||
elif self.dataColumnQuarantine[].hasEnoughDataColumns(forkyBlck):
|
||||
let
|
||||
columns = self.dataColumnQuarantine[].gatherDataColumns(forkyBlck)
|
||||
if columns.len >= (NUMBER_OF_COLUMNS div 2):
|
||||
if columns.len >= (NUMBER_OF_COLUMNS div 2) and quarantine.supernode:
|
||||
let
|
||||
reconstructed_columns =
|
||||
self.processReconstructionFromGossip(forkyBlck, columns)
|
||||
|
|
Loading…
Reference in New Issue