We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4a1018f commit 2018db5Copy full SHA for 2018db5
packages/beacon-node/test/spec/bls/bls.ts
@@ -71,11 +71,9 @@ function aggregate(input: string[]): string {
71
function fast_aggregate_verify(input: {pubkeys: string[]; message: string; signature: string}): boolean | null {
72
const {pubkeys, message, signature} = input;
73
try {
74
- return (
75
- fastAggregateVerify(
76
- fromHexString(message),
77
- pubkeys.map((hex) => PublicKey.fromHex(hex), true)
78
- ),
+ return fastAggregateVerify(
+ fromHexString(message),
+ pubkeys.map((hex) => PublicKey.fromHex(hex, true)),
79
Signature.fromHex(signature, true)
80
);
81
} catch (_e) {
0 commit comments