Skip to content

Commit 69dd7cd

Browse files
committed
fix comments
1 parent d86fe50 commit 69dd7cd

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/BLSMultisig.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import {BLS} from "./sign/BLS.sol";
66
/// @notice BLS-powered multisignature wallet, demonstrating the use of
77
/// aggregated BLS signatures for verification
88
/// @dev This is for demonstration purposes only, do not use in production. This contract does
9-
/// not include protection from rogue public-key attacks.
9+
/// not include protection from rogue public-key attacks.
1010
contract BLSMultisig {
1111
/// @notice Public keys of signers. This may contain a pre-aggregated
1212
/// public keys for common sets of signers as well.

src/sign/BLS.sol

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,7 @@ library BLS {
268268
0x20,
269269
// arg[2] = mod.length
270270
0x40,
271-
// arg[3] = base.bits @ + 0x60
271+
// arg[3] = base.bits
272272
// places the first 32 bytes of _b1 and the last 32 bytes of _b2
273273
_b1,
274274
_b2,
@@ -280,8 +280,8 @@ library BLS {
280280
// we add the 0 prefix so that the result will be exactly 64 bytes
281281
// saves 300 gas per call instead of sending it along every time
282282
// places the first 32 bytes and the last 32 bytes of the field modulus
283-
0x000000000000000000000000000000001a0111ea397fe69a4b1ba7b6434bacd7, // arg[5] = mod
284-
0x64774b84f38512bf6730d2a0f6b0f6241eabfffeb153ffffb9feffffffffaaab //
283+
0x000000000000000000000000000000001a0111ea397fe69a4b1ba7b6434bacd7,
284+
0x64774b84f38512bf6730d2a0f6b0f6241eabfffeb153ffffb9feffffffffaaab
285285
)
286286
);
287287
require(success, "MODEXP failed");

0 commit comments

Comments
 (0)