Skip to content

Commit

Permalink
chore: remove slot param
Browse files Browse the repository at this point in the history
  • Loading branch information
Akagi201 committed Oct 17, 2024
1 parent e4eb446 commit 2a32c22
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion crates/api/src/proposer/api.rs
Original file line number Diff line number Diff line change
Expand Up @@ -904,7 +904,6 @@ where
&mut election_req.message,
&election_req.signature,
&proposer_pub_key,
Some(head_slot),
Some(self.chain_info.genesis_validators_root),
&self.chain_info.context,
) {
Expand Down
2 changes: 0 additions & 2 deletions crates/utils/src/signing.rs
Original file line number Diff line number Diff line change
Expand Up @@ -46,11 +46,9 @@ pub fn verify_signed_commit_boost_message<T: HashTreeRoot>(
message: &mut T,
signature: &BlsSignature,
public_key: &BlsPublicKey,
_slot_hint: Option<Slot>,
root_hint: Option<Root>,
context: &Context,
) -> Result<(), Error> {
// let fork_version = slot_hint.map(|slot| context.fork_version_for(context.fork_for(slot)));
let fork_version = context.genesis_fork_version;
let domain = compute_commit_boost_domain(Some(fork_version), root_hint, context)?;
verify_signed_data(message, signature, public_key, domain)?;
Expand Down

0 comments on commit 2a32c22

Please sign in to comment.