Skip to content
This repository has been archived by the owner on Aug 22, 2024. It is now read-only.

Commit

Permalink
fmt fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
xoloki committed Feb 1, 2024
1 parent 2ab26e9 commit 49bf905
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions stacks-signer/src/runloop.rs
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ use stacks_common::util::hash::{Sha256Sum, Sha512Trunc256Sum};
use stacks_common::{debug, error, info, warn};
use wsts::common::{MerkleRoot, Signature};
use wsts::curve::ecdsa;
use wsts::curve::point::{Compressed, Point};
use wsts::curve::keys::PublicKey;
use wsts::curve::point::{Compressed, Point};
use wsts::net::{Message, NonceRequest, Packet, SignatureShareRequest};
use wsts::state_machine::coordinator::fire::Coordinator as FireCoordinator;
use wsts::state_machine::coordinator::{Config as CoordinatorConfig, Coordinator};
Expand Down Expand Up @@ -725,7 +725,12 @@ impl From<&Config> for RunLoop<FireCoordinator<v2::Aggregator>> {
.signer_ids_public_keys
.signers
.iter()
.map(|(i, ecdsa_key)| (*i, Point::try_from(&Compressed::from(ecdsa_key.to_bytes())).unwrap()))
.map(|(i, ecdsa_key)| {
(
*i,
Point::try_from(&Compressed::from(ecdsa_key.to_bytes())).unwrap(),
)
})
.collect::<HashMap<u32, Point>>();

let coordinator_config = CoordinatorConfig {
Expand Down

0 comments on commit 49bf905

Please sign in to comment.