Skip to content

Commit

Permalink
Combine function parameters (#8758)
Browse files Browse the repository at this point in the history
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
  • Loading branch information
terencechain and prylabs-bulldozer[bot] authored Apr 13, 2021
1 parent 0ea11ac commit 59eb2e6
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 59eb2e6

Please sign in to comment.