From bde7ab79c800203a1624a014db656017155ff381 Mon Sep 17 00:00:00 2001 From: Michael Sproul Date: Mon, 25 Mar 2019 12:45:24 +1100 Subject: [PATCH] types: aggregate signatures in attestations --- eth2/types/src/attestation.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/eth2/types/src/attestation.rs b/eth2/types/src/attestation.rs index 043711015a..dabccfde7e 100644 --- a/eth2/types/src/attestation.rs +++ b/eth2/types/src/attestation.rs @@ -46,7 +46,8 @@ impl Attestation { self.aggregation_bitfield .union_inplace(&other.aggregation_bitfield); self.custody_bitfield.union_inplace(&other.custody_bitfield); - // FIXME: signature aggregation once our BLS library wraps it + self.aggregate_signature + .add_aggregate(&other.aggregate_signature); } }