Remove unnecessary test socket.io handler
This commit is contained in:
parent
c6cba802cd
commit
a093d9aa9b
@ -62,11 +62,6 @@ func NewSocketIoServer(binding string, db *db.RocksDB, mempool *bchain.Mempool)
|
|||||||
|
|
||||||
server.On("message", s.onMessage)
|
server.On("message", s.onMessage)
|
||||||
|
|
||||||
server.On("send", func(c *gosocketio.Channel, msg Message) string {
|
|
||||||
glog.Info(c.Id(), "; ", msg)
|
|
||||||
return "OK"
|
|
||||||
})
|
|
||||||
|
|
||||||
return s, nil
|
return s, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user