mirror of
https://github.com/OffchainLabs/prysm.git
synced 2026-01-09 15:37:56 -05:00
Combine function parameters (#8758)
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
@@ -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)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user