Skip to content

Commit

Permalink
delete iotex
Browse files Browse the repository at this point in the history
  • Loading branch information
datudou committed Jun 16, 2020
1 parent dd5a71e commit df2dbcb
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
7 changes: 1 addition & 6 deletions app/server/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,19 +3,14 @@ package main
import (
"github.com/EOSLaoMao/watchdog/internal/engine"
"github.com/EOSLaoMao/watchdog/internal/eos"
"github.com/EOSLaoMao/watchdog/internal/iotex"
"github.com/EOSLaoMao/watchdog/internal/mixin"
"github.com/EOSLaoMao/watchdog/internal/longmen"
"github.com/EOSLaoMao/watchdog/internal/mixin"
)

func main() {
go eos.CheckUnpaidBlocks()
go eos.Listen()

go mixin.Listen()

go iotex.Listen()

go longmen.Listen()

r := engine.E()
Expand Down
1 change: 0 additions & 1 deletion internal/monitor/monitor.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ var monitorList = []toMonitor{
toMonitor{"EOS", eos.ListenBlockPath, os.Getenv("DISABLE_EOS") == "1"},
toMonitor{"Mixin node 0", "/mixin/node0/status", os.Getenv("DISABLE_MIXIN") == "1"},
toMonitor{"Mixin node 1", "/mixin/node1/status", os.Getenv("DISABLE_MIXIN") == "1"},
toMonitor{"IoTex", "/iotex/status", os.Getenv("DISABLE_IOTEX") == "1"},
toMonitor{"Longmen", "/longmen/status", os.Getenv("DISABLE_LONGMEN") == "1"},
}

Expand Down

0 comments on commit df2dbcb

Please sign in to comment.