diff --git a/beacon_chain/gossip_processing/eth2_processor.nim b/beacon_chain/gossip_processing/eth2_processor.nim index d49a33e0a..b1ca47367 100644 --- a/beacon_chain/gossip_processing/eth2_processor.nim +++ b/beacon_chain/gossip_processing/eth2_processor.nim @@ -392,11 +392,9 @@ proc processDataColumnSidecar*( debug "Data column validated, putting data column in quarantine" self.dataColumnQuarantine[].put(newClone(dataColumnSidecar)) - - if self.dataColumnQuarantine[].supernode == false: - self.dag.db.putDataColumnSidecar(dataColumnSidecar) - debug "Validated column belongs to custody, attempting to persist", - data_column = shortLog(dataColumnSidecar) + self.dag.db.putDataColumnSidecar(dataColumnSidecar) + debug "Validated column belongs to custody, attempting to persist", + data_column = shortLog(dataColumnSidecar) let block_root = hash_tree_root(block_header) if (let o = self.quarantine[].popColumnless(block_root); o.isSome): diff --git a/beacon_chain/sync/request_manager.nim b/beacon_chain/sync/request_manager.nim index 40adddb08..ee70fc11f 100644 --- a/beacon_chain/sync/request_manager.nim +++ b/beacon_chain/sync/request_manager.nim @@ -541,7 +541,7 @@ proc getMissingDataColumns(rman: RequestManager): seq[DataColumnIdentifier] = debug "Not handling missing data columns early in slot" continue - if not rman.dataColumnQuarantine[].hasMissingDataColumns(forkyBlck): + if rman.dataColumnQuarantine[].hasMissingDataColumns(forkyBlck): let missing = rman.dataColumnQuarantine[].dataColumnFetchRecord(forkyBlck) if len(missing.indices) == 0: warn "quarantine is missing data columns, but missing indices are empty",