File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ import {BLS} from "./sign/BLS.sol";
6
6
/// @notice BLS-powered multisignature wallet, demonstrating the use of
7
7
/// aggregated BLS signatures for verification
8
8
/// @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.
10
10
contract BLSMultisig {
11
11
/// @notice Public keys of signers. This may contain a pre-aggregated
12
12
/// public keys for common sets of signers as well.
Original file line number Diff line number Diff line change @@ -268,7 +268,7 @@ library BLS {
268
268
0x20 ,
269
269
// arg[2] = mod.length
270
270
0x40 ,
271
- // arg[3] = base.bits @ + 0x60
271
+ // arg[3] = base.bits
272
272
// places the first 32 bytes of _b1 and the last 32 bytes of _b2
273
273
_b1,
274
274
_b2,
@@ -280,8 +280,8 @@ library BLS {
280
280
// we add the 0 prefix so that the result will be exactly 64 bytes
281
281
// saves 300 gas per call instead of sending it along every time
282
282
// 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
285
285
)
286
286
);
287
287
require (success, "MODEXP failed " );
You can’t perform that action at this time.
0 commit comments