We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c178510 commit 771e8beCopy full SHA for 771e8be
src/processor/fast/commit_state.rs
@@ -163,9 +163,7 @@ pub(crate) fn process_commit_state_internal(
163
.map_err(to_pinocchio_program_error)?;
164
165
// Check that the authority is allowed to commit
166
- if !pubkey_eq(delegation_record.authority.as_array(), args.validator.key())
167
- && !pubkey_eq(delegation_record.authority.as_array(), &Pubkey::default())
168
- {
+ if !pubkey_eq(delegation_record.authority.as_array(), args.validator.key()) {
169
log!("validator is not the delegation authority. validator: ");
170
pubkey::log(args.validator.key());
171
log!("delegation authority: ");
0 commit comments