added genesis method to ethjson blockchain

This commit is contained in:
debris
2016-03-17 14:03:53 +01:00
parent 0621da8535
commit 0f889d4222
5 changed files with 70 additions and 28 deletions

View File

@@ -22,7 +22,7 @@ use serde::de::Visitor;
use util::numbers::{U256, Uint as U};
/// Lenient uint json deserialization for test json files.
#[derive(Default, Debug, PartialEq, Eq, PartialOrd, Ord, Hash)]
#[derive(Default, Debug, PartialEq, Eq, PartialOrd, Ord, Hash, Clone, Copy)]
pub struct Uint(U256);
impl Into<U256> for Uint {