diff --git a/crates/wallet/src/lib.rs b/crates/wallet/src/lib.rs index 66a6524..72e729d 100644 --- a/crates/wallet/src/lib.rs +++ b/crates/wallet/src/lib.rs @@ -343,8 +343,13 @@ fn validate_tx_request(request: &TransactionRequest) -> Result<(), OdysseyWallet #[cfg(test)] mod tests { - use crate::{Capabilities, DelegationCapability, WalletCapabilities}; - use alloy_primitives::{address, map::HashMap}; + use crate::{ + validate_tx_request, Capabilities, DelegationCapability, OdysseyWalletError, + WalletCapabilities, + }; + use alloy_network::TransactionBuilder; + use alloy_primitives::{address, map::HashMap, Address, U256}; + use alloy_rpc_types::TransactionRequest; #[test] fn ser() { @@ -385,12 +390,6 @@ mod tests { ); } - use alloy_network::TransactionBuilder; - use alloy_primitives::{Address, U256}; - use alloy_rpc_types::TransactionRequest; - - use crate::{validate_tx_request, OdysseyWalletError}; - #[test] fn no_value_allowed() { assert_eq!(