mirror of
https://github.com/sigp/lighthouse.git
synced 2026-03-20 13:24:44 +00:00
Add PeerDAS RPC import boilerplate (#6238)
* Add PeerDAS RPC import boilerplate * revert refactor * Remove allow
This commit is contained in:
@@ -177,7 +177,7 @@ impl<T: BeaconChainTypes> GossipVerifiedDataColumn<T> {
|
||||
pub fn id(&self) -> DataColumnIdentifier {
|
||||
DataColumnIdentifier {
|
||||
block_root: self.block_root,
|
||||
index: self.data_column.data_column_index(),
|
||||
index: self.data_column.index(),
|
||||
}
|
||||
}
|
||||
|
||||
@@ -221,7 +221,7 @@ impl<E: EthSpec> KzgVerifiedDataColumn<E> {
|
||||
self.data.clone()
|
||||
}
|
||||
|
||||
pub fn data_column_index(&self) -> u64 {
|
||||
pub fn index(&self) -> ColumnIndex {
|
||||
self.data.index
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user