Skip to content

Commit e0a1150

Browse files
committed
chore: add comment for decimal precision
1 parent df7a029 commit e0a1150

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

crypto/utils/unit_converter.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
from decimal import Decimal, getcontext
33
from typing import Union
44

5+
# 78 digits to cover uint256 max value (2^256 - 1)
56
getcontext().prec = 78
67

78
class UnitConverter:

0 commit comments

Comments
 (0)