Skip to content

Commit

Permalink
Lint fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
mooselumph committed Oct 15, 2024
1 parent 39b52d2 commit 4887bf1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions core/v2/aggregation.go
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ func (a *StdSignatureAggregator) ReceiveSignatures(ctx context.Context, state *c

// Add to agg signature
if aggSigs[quorumID] == nil {
aggSigs[quorumID] = &bn254.Signature{sig.Clone()}
aggSigs[quorumID] = &bn254.Signature{G1Point: sig.Clone()}
aggPubKeys[quorumID] = op.PubkeyG2.Clone()
} else {
aggSigs[quorumID].Add(sig.G1Point)
Expand Down Expand Up @@ -286,7 +286,7 @@ func (a *StdSignatureAggregator) AggregateSignatures(ctx context.Context, ics ch
for _, quorumID := range quorumIDs {
sig := quorumAttestation.AggSignature[quorumID]
if aggSig == nil {
aggSig = &bn254.Signature{sig.G1Point.Clone()}
aggSig = &bn254.Signature{G1Point: sig.G1Point.Clone()}
} else {
aggSig.Add(sig.G1Point)
}
Expand Down
2 changes: 1 addition & 1 deletion core/v2/core_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ package corev2_test

import (
"context"
"crypto/rand"
"fmt"
"math/rand"
"os"
"runtime"
"testing"
Expand Down

0 comments on commit 4887bf1

Please sign in to comment.