Skip to content

Commit

Permalink
secp256r1
Browse files Browse the repository at this point in the history
  • Loading branch information
apfitzge committed Jan 6, 2025
1 parent a96328a commit b7e9e2c
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -484,7 +484,8 @@ impl TransactionViewReceiveAndBuffer {
// Check excessive pre-compiles.
let signature_details = view.signature_details();
let num_precompiles = signature_details.num_ed25519_instruction_signatures()
+ signature_details.num_secp256k1_instruction_signatures();
+ signature_details.num_secp256k1_instruction_signatures()
+ signature_details.num_secp256r1_instruction_signatures();
if num_precompiles > MAX_ALLOWED_PRECOMPILE_SIGNATURES {
return Err(());
}
Expand Down

0 comments on commit b7e9e2c

Please sign in to comment.