mirror of
https://github.com/status-im/nimbus-eth2.git
synced 2025-01-20 03:20:32 +00:00
slight fix in recon from gossip
This commit is contained in:
parent
1d80f7608d
commit
a0a8ebfe22
@ -392,9 +392,6 @@ proc processDataColumnSidecar*(
|
|||||||
data_column_sidecars_dropped.inc(1, [$v.error[0]])
|
data_column_sidecars_dropped.inc(1, [$v.error[0]])
|
||||||
return v
|
return v
|
||||||
|
|
||||||
else:
|
|
||||||
inc validatedCounter
|
|
||||||
|
|
||||||
debug "Data column validated, putting data column in quarantine"
|
debug "Data column validated, putting data column in quarantine"
|
||||||
self.dataColumnQuarantine[].put(newClone(dataColumnSidecar))
|
self.dataColumnQuarantine[].put(newClone(dataColumnSidecar))
|
||||||
|
|
||||||
@ -403,9 +400,9 @@ proc processDataColumnSidecar*(
|
|||||||
let columnless = o.unsafeGet()
|
let columnless = o.unsafeGet()
|
||||||
withBlck(columnless):
|
withBlck(columnless):
|
||||||
when consensusFork >= ConsensusFork.Deneb:
|
when consensusFork >= ConsensusFork.Deneb:
|
||||||
if validatedCounter >= (NUMBER_OF_COLUMNS div 2):
|
let
|
||||||
let
|
columns = self.dataColumnQuarantine[].gatherDataColumns
|
||||||
columns = self.dataColumnQuarantine[].gatherDataColumns
|
if columns.len >= (NUMBER_OF_COLUMNS div 2):
|
||||||
reconstructed_columns =
|
reconstructed_columns =
|
||||||
self.processReconstructionFromGossip(forkyBlck, columns)
|
self.processReconstructionFromGossip(forkyBlck, columns)
|
||||||
for rc in reconstructed_columns.get:
|
for rc in reconstructed_columns.get:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user