Skip to content

Commit b928d4d

Browse files
authored
Update README.md
Fix broken readme for BLS
1 parent 83d78d4 commit b928d4d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -187,8 +187,8 @@ const isValidEth = bls.verify(signature, message, publicKey, htfEthereum);
187187

188188
// Aggregation
189189
const aggregatedKey = bls.aggregatePublicKeys([
190-
bls.utils.randomPrivateKey(),
191-
bls.utils.randomPrivateKey(),
190+
bls.getPublicKey(bls.utils.randomPrivateKey()),
191+
bls.getPublicKey(bls.utils.randomPrivateKey()),
192192
]);
193193
// const aggregatedSig = bls.aggregateSignatures(sigs)
194194

0 commit comments

Comments
 (0)