mirror of
https://github.com/OffchainLabs/prysm.git
synced 2026-01-09 15:37:56 -05:00
Unnecessary Slice-to-Slice Conversion analyzer (#7321)
* analyzer with tests * fix bazel file * modify analyzer to fix build issues * add analyzer to tool chain * remove arrays from inspections * fix redundant [:] operator * Merge branch 'master' into use-slice-directly * Merge branch 'master' into use-slice-directly * fix another inspection * add package-level comment
This commit is contained in:
@@ -127,7 +127,7 @@ func NewValidatorAccount(directory string, password string) error {
|
||||
===================================================================
|
||||
`, tx.Data())
|
||||
fmt.Println("***Enter the above deposit data into step 3 on https://prylabs.net/participate***")
|
||||
publicKey := validatorKey.PublicKey.Marshal()[:]
|
||||
publicKey := validatorKey.PublicKey.Marshal()
|
||||
log.Infof("Public key: %#x", publicKey)
|
||||
return nil
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user