Skip to content

Commit

Permalink
Merge refs/heads/develop into update-spec-comments
Browse files Browse the repository at this point in the history
  • Loading branch information
prylabs-bulldozer[bot] authored Apr 13, 2021
2 parents 5864f5e + 59eb2e6 commit 03fb13b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion beacon-chain/core/helpers/weak_subjectivity_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,7 @@ func TestWeakSubjectivity_ParseWeakSubjectivityInputString(t *testing.T) {
}
}

func genState(t *testing.T, valCount uint64, avgBalance uint64) iface.BeaconState {
func genState(t *testing.T, valCount, avgBalance uint64) iface.BeaconState {
beaconState, err := testutil.NewBeaconState()
require.NoError(t, err)

Expand Down
2 changes: 1 addition & 1 deletion shared/bls/blst/signature.go
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ func (s *Signature) Copy() common.Signature {

// VerifyCompressed verifies that the compressed signature and pubkey
// are valid from the message provided.
func VerifyCompressed(signature []byte, pub []byte, msg []byte) bool {
func VerifyCompressed(signature, pub, msg []byte) bool {
// Validate signature and PKs since we will uncompress them here
return new(blstSignature).VerifyCompressed(signature, true, pub, true, msg, dst)
}

0 comments on commit 03fb13b

Please sign in to comment.