Skip to content

Commit

Permalink
Remove commented-out code
Browse files Browse the repository at this point in the history
  • Loading branch information
paulhauner committed Jul 4, 2022
1 parent 9cce92a commit 6108fed
Showing 1 changed file with 0 additions and 22 deletions.
22 changes: 0 additions & 22 deletions lcli/src/transition_blocks.rs
Original file line number Diff line number Diff line change
Expand Up @@ -91,28 +91,6 @@ struct Config {
exclude_post_block_thc: bool,
}

/*
struct PubkeyCache {
pubkeys: Vec<PublicKey>,
indices: HashMap<PublicKeyBytes, usize>,
pubkey_bytes: Vec<PublicKeyBytes>,
}
impl PubkeyCache {
pub fn new<T: EthSpec>(state: &BeaconState<T>) {
let validator_keys = state.validators().iter().map(|v| v.pubkey.clone());
self.pubkey_bytes.reserve(validator_keys.len());
self.pubkeys.reserve(validator_keys.len());
self.indices.reserve(validator_keys.len());
for pubkey in validator_keys {
}
}
}
*/

pub fn run<T: EthSpec>(mut env: Environment<T>, matches: &ArgMatches) -> Result<(), String> {
let spec = &T::default_spec();
let executor = env.core_context().executor.clone();
Expand Down

0 comments on commit 6108fed

Please sign in to comment.