diff --git a/accounts-db/src/cache_hash_data.rs b/accounts-db/src/cache_hash_data.rs index f25040c92d..25fc34761d 100644 --- a/accounts-db/src/cache_hash_data.rs +++ b/accounts-db/src/cache_hash_data.rs @@ -282,7 +282,7 @@ impl CacheHashData { .read(true) .write(true) .create(false) - .open(path.clone())?; + .open(&path)?; m1.stop(); stats.read_us = m1.as_us();