Revert "Remove feature switch for secp256k1 program (#18467)"
This reverts commit fd574dcb3b
.
This commit is contained in:
committed by
mergify[bot]
parent
c19fce1b19
commit
568660b402
@ -791,8 +791,11 @@ pub fn confirm_slot(
|
||||
};
|
||||
|
||||
let check_start = Instant::now();
|
||||
let check_result = entries
|
||||
.verify_and_hash_transactions(skip_verification, bank.verify_tx_signatures_len_enabled());
|
||||
let check_result = entries.verify_and_hash_transactions(
|
||||
skip_verification,
|
||||
bank.secp256k1_program_enabled(),
|
||||
bank.verify_tx_signatures_len_enabled(),
|
||||
);
|
||||
if check_result.is_none() {
|
||||
warn!("Ledger proof of history failed at slot: {}", slot);
|
||||
return Err(BlockError::InvalidEntryHash.into());
|
||||
|
Reference in New Issue
Block a user