From f1ede332e2f5d367c36036cd26be8e2d8f1d49e8 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Fri, 7 Jul 2023 23:22:31 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- btclib/ec/curve_group.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/btclib/ec/curve_group.py b/btclib/ec/curve_group.py index 750b2a87..278a8623 100644 --- a/btclib/ec/curve_group.py +++ b/btclib/ec/curve_group.py @@ -472,7 +472,7 @@ def multiples(Q: JacPoint, size: int, ec: CurveGroup) -> list[JacPoint]: MAX_W = 5 -@functools.lru_cache() # results are cached to increase efficiency +@functools.lru_cache # results are cached to increase efficiency def cached_multiples(Q: JacPoint, ec: CurveGroup) -> list[JacPoint]: T = [INFJ, Q] for i in range(3, 2**MAX_W, 2): @@ -481,7 +481,7 @@ def cached_multiples(Q: JacPoint, ec: CurveGroup) -> list[JacPoint]: return T -@functools.lru_cache() # results are cached to increase efficiency +@functools.lru_cache # results are cached to increase efficiency def cached_multiples_fixwind( Q: JacPoint, ec: CurveGroup, w: int = 4 ) -> list[list[JacPoint]]: