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