Skip to content

Commit

Permalink
#211 find unnecessary public func
Browse files Browse the repository at this point in the history
  • Loading branch information
Jasonyou1995 committed Oct 24, 2022
1 parent 975be1f commit 5a8f9fe
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion persistence/application.go
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ func (p PostgresContext) SetAppStakeAmount(address []byte, stakeAmount string) e
return p.SetActorStakeAmount(types.ApplicationActor, address, stakeAmount)
}

func (p PostgresContext) DeleteApp(_ []byte) error {
func (p PostgresContext) deleteApp(_ []byte) error {
log.Println("[DEBUG] DeleteApp is a NOOP")
return nil
}
Expand Down
2 changes: 1 addition & 1 deletion persistence/types/persistence_genesis.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ func (x *PersistenceGenesisState) GetNodes() []modules.Actor {
return ActorsToActorsInterface(x.GetServiceNodes())
}

func (x *PersistenceGenesisState) GetParameters() modules.Params {
func (x *PersistenceGenesisState) getParameters() modules.Params {
return x.GetParams()
}

Expand Down
2 changes: 1 addition & 1 deletion shared/modules/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ type PersistenceGenesisState interface {
GetVals() []Actor
GetFish() []Actor
GetNodes() []Actor
GetParameters() Params
// GetParameters() Params
}

type ConsensusGenesisState interface {
Expand Down

0 comments on commit 5a8f9fe

Please sign in to comment.