diff --git a/tor-netdoc/src/microdesc.rs b/tor-netdoc/src/microdesc.rs index 694c13ca4..107a47741 100644 --- a/tor-netdoc/src/microdesc.rs +++ b/tor-netdoc/src/microdesc.rs @@ -137,6 +137,8 @@ impl Microdesc { } }; + // TODO: This is the whole string! It just isn't the + // microdescriptor. let sha256 = d::Sha256::digest(&s[start_pos..].as_bytes()).into(); Ok(Microdesc {