diff --git a/beacon_node/beacon_chain/src/beacon_chain.rs b/beacon_node/beacon_chain/src/beacon_chain.rs index 1bb1d91a42..20a50ad7e9 100644 --- a/beacon_node/beacon_chain/src/beacon_chain.rs +++ b/beacon_node/beacon_chain/src/beacon_chain.rs @@ -1295,7 +1295,7 @@ impl BeaconChain { Ok(self.store.get_blinded_block(block_root)?) } - pub fn get_payload( + pub fn get_payload_envelope( &self, block_root: &Hash256, ) -> Result>, Error> { diff --git a/beacon_node/beacon_chain/src/migrate.rs b/beacon_node/beacon_chain/src/migrate.rs index f014842be7..cb0ee2ede3 100644 --- a/beacon_node/beacon_chain/src/migrate.rs +++ b/beacon_node/beacon_chain/src/migrate.rs @@ -638,7 +638,6 @@ impl, Cold: ItemStore> BackgroundMigrator = HashSet::new(); - let mut payloads_to_prune: HashSet = HashSet::new(); let mut states_to_prune: HashSet<(Slot, Hash256)> = HashSet::new(); let mut kept_summaries_for_hdiff = vec![]; @@ -729,7 +728,6 @@ impl, Cold: ItemStore> BackgroundMigrator, Cold: ItemStore> BackgroundMigrator