Skip to content

Commit

Permalink
Add missing tx_guard.release (MystenLabs#2908)
Browse files Browse the repository at this point in the history
  • Loading branch information
lxfind authored Jul 1, 2022
1 parent 035de55 commit cffd5a4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions crates/sui-core/src/authority.rs
Original file line number Diff line number Diff line change
Expand Up @@ -518,6 +518,7 @@ impl AuthorityState {
let transaction_digest = *certificate.digest();

if self.halted.load(Ordering::SeqCst) && !certificate.data.kind.is_system_tx() {
tx_guard.release();
// TODO: Do we want to include the new validator set?
return Err(SuiError::ValidatorHaltedAtEpochEnd);
}
Expand Down

0 comments on commit cffd5a4

Please sign in to comment.