Clean up various warnings (#10710)

* Clean up various warnings

* Update beacon-chain/rpc/prysm/v1alpha1/debug/state_test.go

Co-authored-by: Preston Van Loon <preston@prysmaticlabs.com>

* Fix redundant casting genState

Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
Co-authored-by: Preston Van Loon <preston@prysmaticlabs.com>
This commit is contained in:
terencechain
2022-05-18 21:38:04 -07:00
committed by GitHub
parent 1c51f6d1be
commit 092e9e1d19
32 changed files with 112 additions and 117 deletions

View File

@@ -12,7 +12,7 @@ import (
ethpbservice "github.com/prysmaticlabs/prysm/proto/eth/service"
)
// Deletes the accounts that the user requests to be deleted from the wallet.
// Delete the accounts that the user requests to be deleted from the wallet.
func (acm *AccountsCLIManager) Delete(ctx context.Context) error {
rawPublicKeys := make([][]byte, len(acm.filteredPubKeys))
formattedPubKeys := make([]string, len(acm.filteredPubKeys))