1
0
Fork 0
mirror of https://github.com/eosswedenorg/thalos synced 2026-06-16 04:24:56 +02:00

cmd/thalos/main.go: pass chain id instead of prefix as id to AbiManager

This commit is contained in:
Henrik Hautakoski 2023-07-13 07:09:09 +02:00
parent 62f898f38c
commit 129272d32e

View file

@ -279,13 +279,15 @@ func main() {
return
}
chain_id := getChain(chainInfo.ChainID.String())
processor := app.SpawnProccessor(
shClient,
api_redis.NewPublisher(context.Background(), rdb, api_redis.Namespace{
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,
)