mirror of
https://github.com/eosswedenorg/thalos
synced 2026-07-04 12:03:41 +02:00
main.go: call InitAbiCache()
This commit is contained in:
parent
b8f667ac10
commit
e079a896cf
1 changed files with 3 additions and 0 deletions
3
main.go
3
main.go
|
|
@ -119,6 +119,9 @@ func main() {
|
||||||
// Connect to redis
|
// Connect to redis
|
||||||
RedisConnect(config.Redis.Addr, config.Redis.Password, config.Redis.DB)
|
RedisConnect(config.Redis.Addr, config.Redis.Password, config.Redis.DB)
|
||||||
|
|
||||||
|
// Init Abi cache
|
||||||
|
InitAbiCache(config.Redis.CacheID)
|
||||||
|
|
||||||
// Connect client and get chain info.
|
// Connect client and get chain info.
|
||||||
eosClient = eos.New(config.Api)
|
eosClient = eos.New(config.Api)
|
||||||
chainInfo, err = eosClient.GetInfo(eosClientCtx)
|
chainInfo, err = eosClient.GetInfo(eosClientCtx)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue