Skip to content

Commit

Permalink
Fix error in function call
Browse files Browse the repository at this point in the history
  • Loading branch information
mmsc2 committed Sep 19, 2023
1 parent 327299b commit 0fdad83
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pkg/hints/ec_hint.go
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ Implements hint:
func computeDoublingSlope(virtual_machine vm.VirtualMachine, exec_scopes types.ExecutionScopes, ids_data hint_utils.IdsManager, point_alias string, secp_p big.Int, alpha big.Int) error {
exec_scopes.AssignOrUpdateVariable("SECP_P", secp_p)

point, err := EcFromVarName(point_alias, virtual_machine, ids_data)
point, err := EcPointFromVarName(point_alias, virtual_machine, ids_data)
if err != nil {
return err
}
Expand Down Expand Up @@ -176,11 +176,11 @@ func computeSlopeAndAssingSecpP(virtual_machine vm.VirtualMachine, exec_scopes t
}

func computeSlope(virtual_machine vm.VirtualMachine, exec_scopes types.ExecutionScopes, ids_data hint_utils.IdsManager, point0_alias string, point1_alias string) error {
point0, err := EcFromVarName(point0_alias, virtual_machine, ids_data)
point0, err := EcPointFromVarName(point0_alias, virtual_machine, ids_data)
if err != nil {
return err
}
point1, err := EcFromVarName(point1_alias, virtual_machine, ids_data)
point1, err := EcPointFromVarName(point1_alias, virtual_machine, ids_data)
if err != nil {
return err
}
Expand Down

0 comments on commit 0fdad83

Please sign in to comment.