From bb171cb38c55b51032892e169c6a3dbb21391998 Mon Sep 17 00:00:00 2001 From: danielhyk1 Date: Mon, 14 Oct 2024 00:49:19 -0700 Subject: [PATCH] clean: lint check --- crates/rbuilder/src/backtest/backtest_build_block.rs | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/crates/rbuilder/src/backtest/backtest_build_block.rs b/crates/rbuilder/src/backtest/backtest_build_block.rs index 445153c6..bbd97d40 100644 --- a/crates/rbuilder/src/backtest/backtest_build_block.rs +++ b/crates/rbuilder/src/backtest/backtest_build_block.rs @@ -7,8 +7,8 @@ use ahash::HashMap; use alloy_primitives::utils::format_ether; -use secp256k1::{rand::rngs::OsRng, SecretKey}; use revm_primitives::hex; +use secp256k1::{rand::rngs::OsRng, SecretKey}; use crate::backtest::restore_landed_orders::{ restore_landed_orders, sim_historical_block, ExecutedBlockTx, ExecutedTxs, SimplifiedOrder, @@ -25,8 +25,7 @@ use crate::{ utils::timestamp_as_u64, }; use clap::Parser; -use std::env; -use std::path::PathBuf; +use std::{env, path::PathBuf}; #[derive(Parser, Debug)] struct Cli { @@ -421,4 +420,4 @@ fn generate_private_key() -> String { pub fn add_env_coinbase_signer() { let private_key = generate_private_key(); env::set_var("COINBASE_SECRET_KEY", private_key); -} \ No newline at end of file +}