From c03065bcd5569a631cc28687667445bfd0e5e151 Mon Sep 17 00:00:00 2001 From: Boog900 <54e72d8a-345f-4599-bd90-c6b9bc7d0ec5@aleeas.com> Date: Sun, 8 Sep 2024 18:42:25 +0100 Subject: [PATCH] fix imports --- types/src/blockchain.rs | 10 ++++++---- types/src/types.rs | 3 ++- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/types/src/blockchain.rs b/types/src/blockchain.rs index 6c7ecf37..f246e59a 100644 --- a/types/src/blockchain.rs +++ b/types/src/blockchain.rs @@ -2,15 +2,17 @@ //! //! Tests that assert particular requests lead to particular //! responses are also tested in Cuprate's blockchain database crate. - +//! +//---------------------------------------------------------------------------------------------------- Import use std::{ collections::{HashMap, HashSet}, ops::Range, }; -use crate::{AltBlockInformation, ChainId}; -//---------------------------------------------------------------------------------------------------- Import -use crate::types::{Chain, ExtendedBlockHeader, OutputOnChain, VerifiedBlockInformation}; +use crate::{ + types::{Chain, ExtendedBlockHeader, OutputOnChain, VerifiedBlockInformation}, + AltBlockInformation, ChainId, +}; //---------------------------------------------------------------------------------------------------- ReadRequest /// A read request to the blockchain database. diff --git a/types/src/types.rs b/types/src/types.rs index c6e83d09..a60ce6c6 100644 --- a/types/src/types.rs +++ b/types/src/types.rs @@ -1,7 +1,8 @@ //! Various shared data types in Cuprate. -use std::num::NonZero; //---------------------------------------------------------------------------------------------------- Import +use std::num::NonZero; + use curve25519_dalek::edwards::EdwardsPoint; use monero_serai::{ block::Block,