Skip to content

Commit

Permalink
remove unnecessary test
Browse files Browse the repository at this point in the history
  • Loading branch information
kingpinXD committed Mar 9, 2024
1 parent 4cdfaf8 commit 8d17e2d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 15 deletions.
13 changes: 0 additions & 13 deletions x/observer/client/cli/tx_updat_observer_test.go

This file was deleted.

4 changes: 2 additions & 2 deletions x/observer/client/cli/tx_update_observer.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ func CmdUpdateObserver() *cobra.Command {
return err
}
// #nosec G701 parsed in range
updateReason, err := ParseUpdateReason(int32(updateReasonInt))
updateReason, err := parseUpdateReason(int32(updateReasonInt))
if err != nil {
return err
}
Expand All @@ -48,7 +48,7 @@ func CmdUpdateObserver() *cobra.Command {
return cmd
}

func ParseUpdateReason(i int32) (types.ObserverUpdateReason, error) {
func parseUpdateReason(i int32) (types.ObserverUpdateReason, error) {
if _, ok := types.ObserverUpdateReason_name[i]; ok {
switch i {
case 1:
Expand Down

0 comments on commit 8d17e2d

Please sign in to comment.