diff --git a/Cargo.toml b/Cargo.toml index 0060afb..61b1f2c 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -7,4 +7,4 @@ license = "GPL-3.0" [dependencies] elastic-array = "0.9" -ethcore-bigint = { version = "0.2.1", path = "../bigint" } +ethereum-types = "0.1" diff --git a/src/lib.rs b/src/lib.rs index 9162670..b65f304 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -16,11 +16,11 @@ //! Database of byte-slices keyed to their Keccak hash. extern crate elastic_array; -extern crate ethcore_bigint as bigint; +extern crate ethereum_types; -use bigint::hash::*; use std::collections::HashMap; use elastic_array::ElasticArray128; +use ethereum_types::H256; /// `HashDB` value type. pub type DBValue = ElasticArray128;