Skip to content

Commit

Permalink
chore: fix debug clear
Browse files Browse the repository at this point in the history
  • Loading branch information
Vid201 committed Jan 30, 2023
1 parent 6e1b20e commit 93d95f4
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/uopool/services/uopool.rs
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,9 @@ impl UoPool for UoPoolService {
mempool.clear();
}

self.reputations.write().clear();
for reputation in self.reputations.write().values_mut() {
reputation.clear();
}

Ok(tonic::Response::new(ClearResponse {
result: ClearResult::Cleared as i32,
Expand Down

0 comments on commit 93d95f4

Please sign in to comment.