Skip to content
This repository has been archived by the owner on Oct 31, 2024. It is now read-only.

Commit

Permalink
chore: rename guards
Browse files Browse the repository at this point in the history
Signed-off-by: Simon Paitrault <[email protected]>
  • Loading branch information
Freyskeyd committed Mar 18, 2024
1 parent e63d027 commit cf1430b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/topos-tce-storage/src/validator/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,7 @@ impl ValidatorStore {
// A lock guard is asked during the insertion of a pending certificate
// to avoid race condition when a certificate is being inserted and added
// to the pending pool at the same time
let _ = self
let _certificate_guard = self
.fullnode_store
.get_certificate_lock_guard(certificate.id)
.await;
Expand Down Expand Up @@ -323,7 +323,7 @@ impl ValidatorStore {
// A lock guard is asked during the insertion of a pending certificate
// to avoid race condition when a certificate is being added to the
// pending pool while its parent is currently being inserted as delivered
let _ = self
let _prev_certificate_guard = self
.fullnode_store
.get_certificate_lock_guard(certificate.prev_id)
.await;
Expand Down

0 comments on commit cf1430b

Please sign in to comment.