mirror of
https://github.com/eosswedenorg/thalos
synced 2026-08-27 20:28:14 +02:00
cmd/thalos/main.go: pass chain id instead of prefix as id to AbiManager
This commit is contained in:
parent
62f898f38c
commit
129272d32e
1 changed files with 4 additions and 2 deletions
|
|
@ -279,13 +279,15 @@ func main() {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
chain_id := getChain(chainInfo.ChainID.String())
|
||||||
|
|
||||||
processor := app.SpawnProccessor(
|
processor := app.SpawnProccessor(
|
||||||
shClient,
|
shClient,
|
||||||
api_redis.NewPublisher(context.Background(), rdb, api_redis.Namespace{
|
api_redis.NewPublisher(context.Background(), rdb, api_redis.Namespace{
|
||||||
Prefix: conf.Redis.Prefix,
|
Prefix: conf.Redis.Prefix,
|
||||||
ChainID: getChain(chainInfo.ChainID.String()),
|
ChainID: chain_id,
|
||||||
}),
|
}),
|
||||||
abi.NewAbiManager(rdb, eosClient, conf.Redis.CacheID),
|
abi.NewAbiManager(rdb, eosClient, chain_id),
|
||||||
codec,
|
codec,
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue