Skip to content

Commit

Permalink
Add @return description
Browse files Browse the repository at this point in the history
  • Loading branch information
azuchi committed Apr 20, 2024
1 parent c075b28 commit 60c372c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/frost.rb
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ def compute_group_commitment(commitment_list, binding_factors)
# @param [ECDSA::Point] group_commitment The group commitment.
# @param [ECDSA::Point] group_pubkey The public key corresponding to the group signing key.
# @param [String] msg The message to be signed.
# @return [Integer] challenge
def compute_challenge(group_commitment, group_pubkey, msg)
raise ArgumentError, "group_commitment must be ECDSA::Point." unless group_commitment.is_a?(ECDSA::Point)
raise ArgumentError, "group_pubkey must be ECDSA::Point." unless group_pubkey.is_a?(ECDSA::Point)
Expand Down

0 comments on commit 60c372c

Please sign in to comment.