Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
mratsim committed Jul 3, 2021
1 parent 9b7366c commit 3173b6b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion blscurve/miracl/miracl_min_pubkey_sig_core.nim
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ func publicFromSecret*(pubkey: var PublicKey, seckey: SecretKey): bool =
if seckey.intVal.isZilch():
return false
{.noSideEffect.}:
if obj.intVal.cmp(CURVE_Order) != -1:
if seckey.intVal.cmp(CURVE_Order) != -1:
return false
pubkey.point = generator1()
pubkey.point.mul(secKey.intVal)
Expand Down

0 comments on commit 3173b6b

Please sign in to comment.