note that microdescriptor sha256 calculation is wrong
This commit is contained in:
parent
5d0990658a
commit
b3f2e273c5
|
@ -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();
|
let sha256 = d::Sha256::digest(&s[start_pos..].as_bytes()).into();
|
||||||
|
|
||||||
Ok(Microdesc {
|
Ok(Microdesc {
|
||||||
|
|
Loading…
Reference in New Issue