diff --git a/src/cache/hashcache.rs b/src/cache/hashcache.rs
index fa7d333..43496a6 100644
--- a/src/cache/hashcache.rs
+++ b/src/cache/hashcache.rs
@@ -33,15 +33,15 @@ pub struct HashCache {
impl HashCache {
// save [PoWConfig] to cache
- fn save(&mut self, config: CachePoW) -> CaptchaResult<()> {
+ fn save_pow_config(&mut self, config: CachePoW) -> CaptchaResult<()> {
self.difficulty_map
.insert(config.string, config.difficulty_factor);
Ok(())
}
// retrive [PoWConfig] from cache. Deletes config post retrival
- fn retrive(&mut self, string: String) -> CaptchaResult