mirror of
https://github.com/OffchainLabs/prysm.git
synced 2026-01-08 23:18:15 -05:00
Enable whitespace linter & fix findings (#12273)
* Enable whitespace linter & fix findings * Fix new finding * fix new violation --------- Co-authored-by: Radosław Kapka <rkapka@wp.pl> Co-authored-by: Preston Van Loon <preston@prysmaticlabs.com> Co-authored-by: Preston Van Loon <pvanloon@offchainlabs.com>
This commit is contained in:
@@ -172,5 +172,4 @@ func (km *Keymanager) ListKeymanagerAccounts(ctx context.Context, cfg keymanager
|
||||
fmt.Println(" ")
|
||||
}
|
||||
return nil
|
||||
|
||||
}
|
||||
|
||||
@@ -277,7 +277,6 @@ func (km *Keymanager) SaveStoreAndReInitialize(ctx context.Context, store *accou
|
||||
accountsKeystore, err := CreateAccountsKeystoreRepresentation(ctx, store, km.wallet.Password())
|
||||
if err != nil {
|
||||
return err
|
||||
|
||||
}
|
||||
encodedAccounts, err := json.MarshalIndent(accountsKeystore, "", "\t")
|
||||
if err != nil {
|
||||
|
||||
@@ -348,7 +348,6 @@ func MapBeaconBlockBodyAltair(body *ethpb.BeaconBlockBodyAltair) (*BeaconBlockBo
|
||||
block.Deposits[i] = deposit
|
||||
}
|
||||
for i, exit := range body.VoluntaryExits {
|
||||
|
||||
exit, err := MapSignedVoluntaryExit(exit)
|
||||
if err != nil {
|
||||
return nil, fmt.Errorf("could not map signed voluntary exit at index %v: %v", i, err)
|
||||
|
||||
@@ -620,7 +620,6 @@ func MockForkInfo() *v1.ForkInfo {
|
||||
},
|
||||
GenesisValidatorsRoot: make([]byte, fieldparams.RootLength),
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
// MockAttestation is a mock implementation of the Attestation.
|
||||
|
||||
Reference in New Issue
Block a user