Skip to content

Commit

Permalink
update module name
Browse files Browse the repository at this point in the history
  • Loading branch information
nivasan1 committed Oct 20, 2022
1 parent b832344 commit 2d84eaa
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions x/govshuttle/types/keys.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ import (

const (
// ModuleName defines the module name
ModuleName = "shuttle"
ModuleName = "govshuttle"

// StoreKey defines the primary module store key
StoreKey = ModuleName
StoreKey = "shuttle"

// RouterKey is the message route for slashing
RouterKey = ModuleName
Expand All @@ -24,11 +24,11 @@ const (

var (
ModuleAddress common.Address
PortKey = []byte("Port")
PortKey = []byte("Port")
)

func init() {
ModuleAddress = common.BytesToAddress(authtypes.NewModuleAddress("govshuttle").Bytes())
ModuleAddress = common.BytesToAddress(authtypes.NewModuleAddress(ModuleName).Bytes())
}

func KeyPrefix(p string) []byte {
Expand Down

0 comments on commit 2d84eaa

Please sign in to comment.