Skip to content
This repository was archived by the owner on May 23, 2023. It is now read-only.

Commit 9a9c246

Browse files
authored
Correct import for warnings
1 parent e490fad commit 9a9c246

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ethereum/utils.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@
1515
try:
1616
import coincurve
1717
except ImportError:
18-
import warning
19-
warning.warn('could not import coincurve', ImportWarning)
18+
import warnings
19+
warnings.warn('could not import coincurve', ImportWarning)
2020
coincurve = None
2121

2222
big_endian_to_int = lambda x: big_endian_int.deserialize(str_to_bytes(x).lstrip(b'\x00'))

0 commit comments

Comments
 (0)