Skip to content

Commit

Permalink
builf dix (revive)
Browse files Browse the repository at this point in the history
  • Loading branch information
vlad committed Nov 24, 2024
1 parent 6a50b2d commit 0ebf9b8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cmd/secretd/attestation.go
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,7 @@ func EmergencyApproveUpgrade() *cobra.Command {
Short: "Emergency enclave upgade approval",
Long: "Approve enclave upgrade in an offline mode. Need to reach consensus among network validators",
Args: cobra.ExactArgs(1),
RunE: func(cmd *cobra.Command, args []string) error {
RunE: func(_ *cobra.Command, args []string) error {
_, err := api.EmergencyApproveUpgrade(app.DefaultNodeHome, args[0])
if err != nil {
return fmt.Errorf("failed to approve emergency upgrade: %s", err)
Expand Down
2 changes: 1 addition & 1 deletion x/compute/internal/keeper/ante.go
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ func (a *CountTXDecorator) verifyUpgradeProposal(ctx sdk.Context, msgUpgrade *ty
return err
}

var latestProposal *govtypes.Proposal = nil
var latestProposal *govtypes.Proposal
var latestMREnclaveHash []byte

// Iterate through the proposals
Expand Down

0 comments on commit 0ebf9b8

Please sign in to comment.