Skip to content

Commit 54c3b88

Browse files
author
Lena
committed
add exception
1 parent 3b02050 commit 54c3b88

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

draft-yun-cfrg-arc.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1517,6 +1517,9 @@ Parameters:
15171517
- generatorG: Element, equivalent to G.GeneratorG()
15181518
- generatorH: Element, equivalent to G.GeneratorH()
15191519

1520+
Exceptions:
1521+
- NumberTooBigError, raised when v is out of range
1522+
15201523
if G.ScalarToInt(v) >= upper_bound:
15211524
raise NumberTooBigError
15221525

0 commit comments

Comments
 (0)