Exposing v,r,s from transaction signature in RPC (#3172)

Former-commit-id: bb138aa03c05b3f19ef0633acc7ecc5212b21663
This commit is contained in:
Tomasz Drwięga
2016-11-04 12:05:10 +01:00
committed by Tomasz Drwięga
parent afa21ce001
commit f52aee83bc
6 changed files with 29 additions and 9 deletions

View File

@@ -4,7 +4,7 @@ homepage = "http://ethcore.io"
repository = "https://github.com/ethcore/parity"
license = "GPL-3.0"
name = "ethcore-bigint"
version = "0.1.1"
version = "0.1.2"
authors = ["Ethcore <admin@ethcore.io>"]
build = "build.rs"

View File

@@ -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)
}
}
}
}