From 49bf90508c89e3151381cd74d77cf7a7d4a690c9 Mon Sep 17 00:00:00 2001 From: Joey Yandle Date: Thu, 1 Feb 2024 10:54:21 -0500 Subject: [PATCH] fmt fixes --- stacks-signer/src/runloop.rs | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/stacks-signer/src/runloop.rs b/stacks-signer/src/runloop.rs index 41076ea1f4..0eff5cca45 100644 --- a/stacks-signer/src/runloop.rs +++ b/stacks-signer/src/runloop.rs @@ -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}; @@ -725,7 +725,12 @@ impl From<&Config> for RunLoop> { .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::>(); let coordinator_config = CoordinatorConfig {