Skip to content

Commit

Permalink
Remove commented code
Browse files Browse the repository at this point in the history
  • Loading branch information
HCastano committed Jul 15, 2024
1 parent 4b4315a commit 73f8623
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions crates/threshold-signature-server/src/user/api.rs
Original file line number Diff line number Diff line change
Expand Up @@ -292,14 +292,6 @@ async fn setup_dkg(
app_state: AppState,
) -> Result<(), UserErr> {
tracing::debug!("Preparing to execute DKG");
// let block_hash = rpc
// .chain_get_block_hash(None)
// .await?
// .ok_or_else(|| UserErr::OptionUnwrapError("Error getting block hash".to_string()))?;
// let nonce_call = entropy::apis().account_nonce_api().account_nonce(signer.account_id().clone());
// let nonce = api.runtime_api().at(block_hash).call(nonce_call).await?;

// for (i, sig_request_account) in data.sig_request_accounts.into_iter().enumerate() {
for sig_request_account in data.sig_request_accounts.into_iter() {
let address_slice: &[u8; 32] = &sig_request_account
.clone()
Expand Down

0 comments on commit 73f8623

Please sign in to comment.