Skip to content

Commit

Permalink
Get rid of compilation warnings in case signing is disabled. (#594)
Browse files Browse the repository at this point in the history
* Get rid of warnings in api/accounts

* cargo fmt --all
  • Loading branch information
tomusdrw authored Feb 4, 2022
1 parent 4f985c5 commit fcbfb45
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions src/api/accounts.rs
Original file line number Diff line number Diff line change
@@ -1,11 +1,6 @@
//! Partial implementation of the `Accounts` namespace.

use crate::{
api::Namespace,
signing,
types::{AccessList, H256, U64},
Transport,
};
use crate::{api::Namespace, signing, types::H256, Transport};

/// `Accounts` namespace
#[derive(Debug, Clone)]
Expand Down Expand Up @@ -48,7 +43,8 @@ mod accounts_signing {
error,
signing::Signature,
types::{
Address, Bytes, Recovery, RecoveryMessage, SignedData, SignedTransaction, TransactionParameters, U256,
AccessList, Address, Bytes, Recovery, RecoveryMessage, SignedData, SignedTransaction,
TransactionParameters, U256, U64,
},
};
use rlp::RlpStream;
Expand Down

0 comments on commit fcbfb45

Please sign in to comment.