Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Jul 11, 2023
1 parent fa2a816 commit 4acd718
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion btclib/block/block.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ def height(self) -> int | None:
script_sig.
https://github.com/bitcoin/bips/blob/master/bip-0034.mediawiki
Block 227,835 (2013-03-24 15
Block 227,835 (2013-03-24 15
:49: 13 GMT) was the last version 1 block.
"""
if not self.transactions[0].is_coinbase():
Expand Down
6 changes: 3 additions & 3 deletions btclib/ec/curve_group.py
Original file line number Diff line number Diff line change
Expand Up @@ -703,9 +703,9 @@ def _multi_mult(
Use Bos-Coster's algorithm for efficient computation.
The input points are assumed to be on curve,
the scalar coefficients are assumed to have been reduced mod n
if appropriate (e.g. cyclic groups of order n).
The input points are assumed to be on curve, the scalar coefficients
are assumed to have been reduced mod n if appropriate (e.g. cyclic
groups of order n).
"""
# source: https://cr.yp.to/badbatch/boscoster2.py
if len(scalars) != len(jac_points):
Expand Down

0 comments on commit 4acd718

Please sign in to comment.