Exposing v,r,s from transaction signature in RPC (#3172)
This commit is contained in:
@@ -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)
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user