Update ethereum-types to 0.5

This commit is contained in:
Michael Sproul
2019-03-04 17:19:25 +11:00
parent af8b8d519c
commit 6253167cac
19 changed files with 80 additions and 79 deletions

View File

@@ -55,13 +55,13 @@ impl Encodable for bool {
impl Encodable for H256 {
fn ssz_append(&self, s: &mut SszStream) {
s.append_encoded_raw(&self.to_vec());
s.append_encoded_raw(self.as_bytes());
}
}
impl Encodable for Address {
fn ssz_append(&self, s: &mut SszStream) {
s.append_encoded_raw(&self.to_vec());
s.append_encoded_raw(self.as_bytes());
}
}