Skip to content

Commit

Permalink
chore: fix error message (Consensys#1337)
Browse files Browse the repository at this point in the history
  • Loading branch information
taikoonwang authored and ivokub committed Dec 25, 2024
1 parent 92fc93c commit fa2fcc7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion std/evmprecompiles/hints.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ func recoverPublicKeyHint(_ *big.Int, inputs []*big.Int, outputs []*big.Int) err
return fmt.Errorf("expected %d limbs got %d", emfr.NbLimbs()*3+1, len(inputs))
}
if !inputs[emfr.NbLimbs()].IsInt64() {
return fmt.Errorf("second input input must be in [0,3]")
return fmt.Errorf("second input must be in [0,3]")
}
if len(outputs) != 2*int(emfp.NbLimbs())+1 {
return fmt.Errorf("expected output %d limbs got %d", 2*emfp.NbLimbs(), len(outputs))
Expand Down

0 comments on commit fa2fcc7

Please sign in to comment.