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:
parent
62f898f38c
commit
129272d32e
1 changed files with 4 additions and 2 deletions
|
|
@ -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,
|
||||
)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue