1
0
Fork 0
mirror of https://github.com/eosswedenorg/thalos synced 2026-06-17 04:30:03 +02:00

app/ship_processor.go: remove ns from struct. should not be used here.

This commit is contained in:
Henrik Hautakoski 2023-01-19 17:46:47 +01:00
parent 69a9e9f47d
commit 2bec1f09c5
2 changed files with 1 additions and 7 deletions

View file

@ -13,15 +13,13 @@ import (
)
type ShipProcessor struct {
ns transport.Namespace
abi *abi.AbiManager
publisher transport.Publisher
shClient *shipclient.ShipClient
}
func SpawnProccessor(shClient *shipclient.ShipClient, ns transport.Namespace, publisher transport.Publisher, abi *abi.AbiManager) {
func SpawnProccessor(shClient *shipclient.ShipClient, publisher transport.Publisher, abi *abi.AbiManager) {
processor := &ShipProcessor{
ns: ns,
abi: abi,
publisher: publisher,
shClient: shClient,

View file

@ -241,10 +241,6 @@ func main() {
app.SpawnProccessor(
shClient,
transport.Namespace{
Prefix: conf.Redis.Prefix,
ChainID: chainInfo.ChainID.String(),
},
redis_pubsub.New(rdb),
abi.NewAbiManager(rdb, eosClient, conf.Redis.CacheID),
)