Commit b47ce606 authored by liuyuhang's avatar liuyuhang

modify some dapp set config

parent 26d2f8bd
......@@ -42,6 +42,7 @@ func getRealExecName(cfg *types.Chain33Config, paraName string) string {
func NewType(cfg *types.Chain33Config) *GameType {
c := &GameType{}
c.SetChild(c)
c.SetConfig(cfg)
return c
}
......
......@@ -34,6 +34,7 @@ type PokerBullType struct {
func NewType(cfg *types.Chain33Config) *PokerBullType {
c := &PokerBullType{}
c.SetChild(c)
c.SetConfig(cfg)
return c
}
......
......@@ -74,6 +74,7 @@ type tradeType struct {
func NewType(cfg *types.Chain33Config) *tradeType {
c := &tradeType{}
c.SetChild(c)
c.SetConfig(cfg)
return c
}
......
......@@ -34,6 +34,7 @@ type ValNodeType struct {
func NewType(cfg *types.Chain33Config) *ValNodeType {
c := &ValNodeType{}
c.SetChild(c)
c.SetConfig(cfg)
return c
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment