Skip to content

Commit

Permalink
fix ethereum-types
Browse files Browse the repository at this point in the history
  • Loading branch information
ordian committed Dec 27, 2020
1 parent 2641855 commit a3d28c7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 1 addition & 3 deletions ethereum-types/src/lib.rs
Expand Up @@ -13,9 +13,7 @@ mod uint;

pub use ethbloom::{Bloom, BloomRef, Input as BloomInput};
pub use hash::{BigEndianHash, H128, H160, H256, H264, H32, H512, H520, H64};
#[cfg(feature = "num-traits")]
pub use primitive_types::{FromStrRadixErr, FromStrRadixErrKind};
pub use uint::{FromDecStrErr, U128, U256, U512, U64};
pub use uint::{FromDecStrErr, FromStrRadixErr, FromStrRadixErrKind, U128, U256, U512, U64};

pub type Address = H160;
pub type Secret = H256;
Expand Down
2 changes: 1 addition & 1 deletion ethereum-types/src/uint.rs
Expand Up @@ -14,7 +14,7 @@ use impl_rlp::impl_uint_rlp;
use impl_serde::impl_uint_serde;
use uint_crate::*;

pub use uint_crate::FromDecStrErr;
pub use uint_crate::{FromDecStrErr, FromStrRadixErr, FromStrRadixErrKind};

construct_uint! {
/// Unsigned 64-bit integer.
Expand Down

0 comments on commit a3d28c7

Please sign in to comment.