From 5fd4718103d690d5c474fbd9e8d756f0de787f1b Mon Sep 17 00:00:00 2001 From: "hinto.janai" Date: Mon, 28 Oct 2024 18:02:08 -0400 Subject: [PATCH] fmt --- binaries/cuprated/src/rpc/request/address_book.rs | 4 ++-- binaries/cuprated/src/rpc/request/blockchain_context.rs | 2 +- binaries/cuprated/src/rpc/request/blockchain_manager.rs | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/binaries/cuprated/src/rpc/request/address_book.rs b/binaries/cuprated/src/rpc/request/address_book.rs index 94ebe34..3bde5c6 100644 --- a/binaries/cuprated/src/rpc/request/address_book.rs +++ b/binaries/cuprated/src/rpc/request/address_book.rs @@ -5,14 +5,14 @@ use std::convert::Infallible; use anyhow::{anyhow, Error}; use tower::ServiceExt; -use cuprate_pruning::PruningSeed; -use cuprate_rpc_types::misc::{ConnectionInfo, Span}; use cuprate_helper::cast::usize_to_u64; use cuprate_p2p_core::{ services::{AddressBookRequest, AddressBookResponse}, types::BanState, AddressBook, NetworkZone, }; +use cuprate_pruning::PruningSeed; +use cuprate_rpc_types::misc::{ConnectionInfo, Span}; use crate::rpc::constants::FIELD_NOT_SUPPORTED; diff --git a/binaries/cuprated/src/rpc/request/blockchain_context.rs b/binaries/cuprated/src/rpc/request/blockchain_context.rs index 257cb86..c6f0f22 100644 --- a/binaries/cuprated/src/rpc/request/blockchain_context.rs +++ b/binaries/cuprated/src/rpc/request/blockchain_context.rs @@ -6,11 +6,11 @@ use anyhow::{anyhow, Error}; use monero_serai::block::Block; use tower::{Service, ServiceExt}; -use cuprate_helper::cast::u64_to_usize; use cuprate_consensus_context::{ BlockChainContext, BlockChainContextRequest, BlockChainContextResponse, BlockChainContextService, }; +use cuprate_helper::cast::u64_to_usize; use cuprate_types::{FeeEstimate, HardFork, HardForkInfo}; // FIXME: use `anyhow::Error` over `tower::BoxError` in blockchain context. diff --git a/binaries/cuprated/src/rpc/request/blockchain_manager.rs b/binaries/cuprated/src/rpc/request/blockchain_manager.rs index d7d1c28..f655743 100644 --- a/binaries/cuprated/src/rpc/request/blockchain_manager.rs +++ b/binaries/cuprated/src/rpc/request/blockchain_manager.rs @@ -4,10 +4,10 @@ use anyhow::Error; use monero_serai::block::Block; use tower::{Service, ServiceExt}; -use cuprate_p2p_core::NetworkZone; -use cuprate_rpc_types::misc::Span; use cuprate_helper::cast::{u64_to_usize, usize_to_u64}; +use cuprate_p2p_core::NetworkZone; use cuprate_pruning::PruningSeed; +use cuprate_rpc_types::misc::Span; use cuprate_types::{AddAuxPow, AuxPow, HardFork}; use crate::rpc::{