From 7f00f167e3f1e2cd9bae6e8e6f53c5cb6ab6339b Mon Sep 17 00:00:00 2001 From: Paul Hauner Date: Tue, 18 Dec 2018 17:55:21 +1100 Subject: [PATCH] Fix error in agg sig newtype --- beacon_chain/utils/bls/src/aggregate_signature.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/beacon_chain/utils/bls/src/aggregate_signature.rs b/beacon_chain/utils/bls/src/aggregate_signature.rs index 0970ce56f..5cc9c3c21 100644 --- a/beacon_chain/utils/bls/src/aggregate_signature.rs +++ b/beacon_chain/utils/bls/src/aggregate_signature.rs @@ -24,7 +24,7 @@ impl AggregateSignature { /// /// Only returns `true` if the set of keys in the `AggregatePublicKey` match the set of keys /// that signed the `AggregateSignature`. - pub fn verify(&mut self, msg: &[u8], avk: &AggregatePublicKey) -> bool { + pub fn verify(&self, msg: &[u8], avk: &AggregatePublicKey) -> bool { self.0.verify(msg, avk) } }