core: various cleanups, improvements, code comments (#38)
* core: cleanup slicing impls for Hash * core: clean up Readable trait, implement Readable/Writeable for various integers * core: change Hash debug output to hex * core: correct warnings in all modules
This commit is contained in:
committed by
Ignotus Peverell
parent
9e82fb1774
commit
39ddeb0a2a
+1
-1
@@ -68,7 +68,7 @@ impl ser::Writeable for Tip {
|
||||
}
|
||||
}
|
||||
|
||||
impl ser::Readable<Tip> for Tip {
|
||||
impl ser::Readable for Tip {
|
||||
fn read(reader: &mut ser::Reader) -> Result<Tip, ser::Error> {
|
||||
let height = try!(reader.read_u64());
|
||||
let last = try!(Hash::read(reader));
|
||||
|
||||
Reference in New Issue
Block a user