fix: Use the right ranked-map key name

This commit is contained in:
Clément Renault 2019-08-30 12:18:09 +02:00
parent fba1272a3e
commit d8dcc6f34b
No known key found for this signature in database
GPG Key ID: 92ADA4E935E71FA4

View File

@ -73,7 +73,7 @@ impl MainIndex {
pub fn set_ranked_map(&self, value: &RankedMap) -> Result<(), Error> {
let mut bytes = Vec::new();
value.write_to_bin(&mut bytes)?;
self.0.set("ranked_map", bytes)?;
self.0.set("ranked-map", bytes)?;
Ok(())
}
}