netdir: look in right path for cached-microdescs.new

This commit is contained in:
Nick Mathewson 2020-09-09 10:55:34 -04:00
parent 875e932898
commit 1f5d758dc3
1 changed files with 1 additions and 1 deletions

View File

@ -191,7 +191,7 @@ impl NetDirConfig {
let certspath = cachedir.join("cached-certs");
let conspath = cachedir.join("cached-microdesc-consensus");
let mdpath = cachedir.join("cached-microdescs");
let md2path = mdpath.with_extension(".new");
let md2path = mdpath.with_extension("new");
let certs = self.load_certs(&certspath)?;
let consensus = self.load_consensus(&conspath, &certs)?;