Skip to content

Commit

Permalink
nit
Browse files Browse the repository at this point in the history
  • Loading branch information
raychu86 committed Jun 26, 2024
1 parent 5541e64 commit 39777a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion synthesizer/src/vm/finalize.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1073,7 +1073,7 @@ impl<N: Network, C: ConsensusStorage<N>> VM<N, C> {
// If the address is a delegator, check that the corresponding validator is open or the validator does not exist.
ensure!(
committee.is_committee_member_open(*validator_address)
|| committee.is_committee_member(*validator_address),
|| !committee.is_committee_member(*validator_address),
"Ratify::Genesis(..) the delegator {address} is delegating to a closed validator {validator_address}",
);
}
Expand Down

0 comments on commit 39777a3

Please sign in to comment.