note that microdescriptor sha256 calculation is wrong

This commit is contained in:
Nick Mathewson 2020-06-03 17:26:18 -04:00
parent 5d0990658a
commit b3f2e273c5
1 changed files with 2 additions and 0 deletions

View File

@ -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 {