Skip to content

Commit

Permalink
fix(scalar.ts): correct parameter type in toInput() method documentat…
Browse files Browse the repository at this point in the history
…ion from Field to Scalar for accuracy
  • Loading branch information
MartinMinkov committed Feb 22, 2024
1 parent ec01713 commit 9ce4ea6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lib/scalar.ts
Original file line number Diff line number Diff line change
Expand Up @@ -236,9 +236,9 @@ class Scalar {
/**
* **Warning**: This function is mainly for internal use. Normally it is not intended to be used by a zkApp developer.
*
* This function is the implementation of `ProvableExtended.toInput()` for the {@link Field} type.
* This function is the implementation of `ProvableExtended.toInput()` for the {@link Scalar} type.
*
* @param value - The {@link Field} element to get the `input` array.
* @param value - The {@link Scalar} element to get the `input` array.
*
* @return An object where the `fields` key is a {@link Field} array of length 1 created from this {@link Field}.
*
Expand Down

0 comments on commit 9ce4ea6

Please sign in to comment.