File tree 1 file changed +9
-4
lines changed
beacon_node/network/src/network_beacon_processor
1 file changed +9
-4
lines changed Original file line number Diff line number Diff line change @@ -928,6 +928,7 @@ impl<T: BeaconChainTypes> NetworkBeaconProcessor<T> {
928
928
publish_blobs : bool ,
929
929
) {
930
930
let custody_columns = self . network_globals . sampling_columns . clone ( ) ;
931
+ let is_supernode = self . network_globals . is_supernode ( ) ;
931
932
let self_cloned = self . clone ( ) ;
932
933
let publish_fn = move |blobs_or_data_column| {
933
934
if publish_blobs {
@@ -936,10 +937,14 @@ impl<T: BeaconChainTypes> NetworkBeaconProcessor<T> {
936
937
self_cloned. publish_blobs_gradually ( blobs, block_root) ;
937
938
}
938
939
BlobsOrDataColumns :: DataColumns ( columns) => {
939
- let columns_to_publish = columns
940
- . into_iter ( )
941
- . filter ( |c| custody_columns. contains ( & c. index ) )
942
- . collect ( ) ;
940
+ let columns_to_publish = if is_supernode {
941
+ columns
942
+ } else {
943
+ columns
944
+ . into_iter ( )
945
+ . filter ( |c| custody_columns. contains ( & c. index ) )
946
+ . collect ( )
947
+ } ;
943
948
self_cloned. publish_data_columns_gradually ( columns_to_publish, block_root) ;
944
949
}
945
950
} ;
You can’t perform that action at this time.
0 commit comments