Skip to content

Commit f1ede33

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 4d0ba9d commit f1ede33

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

btclib/ec/curve_group.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -472,7 +472,7 @@ def multiples(Q: JacPoint, size: int, ec: CurveGroup) -> list[JacPoint]:
472472
MAX_W = 5
473473

474474

475-
@functools.lru_cache() # results are cached to increase efficiency
475+
@functools.lru_cache # results are cached to increase efficiency
476476
def cached_multiples(Q: JacPoint, ec: CurveGroup) -> list[JacPoint]:
477477
T = [INFJ, Q]
478478
for i in range(3, 2**MAX_W, 2):
@@ -481,7 +481,7 @@ def cached_multiples(Q: JacPoint, ec: CurveGroup) -> list[JacPoint]:
481481
return T
482482

483483

484-
@functools.lru_cache() # results are cached to increase efficiency
484+
@functools.lru_cache # results are cached to increase efficiency
485485
def cached_multiples_fixwind(
486486
Q: JacPoint, ec: CurveGroup, w: int = 4
487487
) -> list[list[JacPoint]]:

0 commit comments

Comments
 (0)