Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
Signed-off-by: Nikolaos Dymitriadis <[email protected]>
  • Loading branch information
AmbientTea committed Feb 18, 2025
1 parent 74ee044 commit 4bb9049
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ impl Cache {
pool_hash: &MainchainKeyHash,
) -> Option<PoolDelegation> {
if let Ok(mut cache) = self.distribution_per_pool_cache.lock() {
cache.get(&(epoch, pool_hash.clone())).map(|e| e.clone())
cache.get(&(epoch, *pool_hash)).map(|e| e.clone())
} else {
None
}
Expand Down

0 comments on commit 4bb9049

Please sign in to comment.