cleaning up hash reexports

This commit is contained in:
debris
2016-08-03 18:05:17 +02:00
parent 573e775ef9
commit e8c451ac82
42 changed files with 102 additions and 148 deletions

View File

@@ -44,7 +44,7 @@ impl Account {
mod tests {
use serde_json;
use spec::account::Account;
use util::numbers::U256;
use util::U256;
use uint::Uint;
use bytes::Bytes;

View File

@@ -19,7 +19,7 @@
use std::str::FromStr;
use serde::{Deserialize, Deserializer, Error};
use serde::de::Visitor;
use util::numbers::{U256, Uint as U};
use util::{U256, Uint as U};
/// Lenient uint json deserialization for test json files.
#[derive(Default, Debug, PartialEq, Eq, PartialOrd, Ord, Hash, Clone, Copy)]
@@ -88,7 +88,7 @@ impl Visitor for UintVisitor {
#[cfg(test)]
mod test {
use serde_json;
use util::numbers::U256;
use util::U256;
use uint::Uint;
#[test]

View File

@@ -39,7 +39,7 @@ pub struct Call {
mod tests {
use serde_json;
use vm::Call;
use util::numbers::U256;
use util::U256;
use uint::Uint;
use util::hash::Address as Hash160;
use hash::Address;