func AggregatePubKeys(pubkeys []*PublicKey) *PublicKey {
	blsPubs := make([]*bls.PublicKey, len(pubkeys))
	for i := range pubkeys {
		blsPubs[i] = &pubkeys[i].p
	}

	newPub := bls.AggregatePublicKeys(blsPubs)

	return &PublicKey{p: *newPub}
}
// AggregatePubKeys aggregates some public keys into one.
AggregatePubKeys aggregates some public keys into one.
// AggregatePubKeys aggregates some public keys into one .
func AggregatePubKeys(pubkeys []*PublicKey) *PublicKey {
	blsPubs := make([]*bls.PublicKey, len(pubkeys))
	for i := range pubkeys {
		blsPubs[i] = &pubkeys[i].p
	}
	newPub := bls.AggregatePublicKeys(blsPubs)
	return &PublicKey{p: *newPub}
}
func AggregatePubKeys ( pubkeys [ ] * PublicKey ) * PublicKey { blsPubs := make ( [ ] * bls . PublicKey , len ( pubkeys ) ) for i := range pubkeys { blsPubs [ i ] = & pubkeys [ i ] . p } newPub := bls . AggregatePublicKeys ( blsPubs ) return & PublicKey { p : * newPub } }
AggregatePubKeys aggregates some public keys into one.
AggregatePubKeys aggregates some public keys into one .