Merge remote-tracking branch 'parity/master' into bft
This commit is contained in:
commit
9315a85301
|
@ -4,7 +4,7 @@ homepage = "http://ethcore.io"
|
||||||
repository = "https://github.com/ethcore/parity"
|
repository = "https://github.com/ethcore/parity"
|
||||||
license = "GPL-3.0"
|
license = "GPL-3.0"
|
||||||
name = "ethcore-bigint"
|
name = "ethcore-bigint"
|
||||||
version = "0.1.1"
|
version = "0.1.2"
|
||||||
authors = ["Ethcore <admin@ethcore.io>"]
|
authors = ["Ethcore <admin@ethcore.io>"]
|
||||||
build = "build.rs"
|
build = "build.rs"
|
||||||
|
|
||||||
|
|
|
@ -386,6 +386,12 @@ macro_rules! impl_hash {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
impl<'a> From<&'a [u8]> for $from {
|
||||||
|
fn from(s: &'a [u8]) -> $from {
|
||||||
|
$from::from_slice(s)
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue