mirror of
https://github.com/eosswedenorg/thalos
synced 2026-07-03 11:53:41 +02:00
main.go: log a message when getting chain info.
This commit is contained in:
parent
ed82bb9aec
commit
f2e222e058
1 changed files with 1 additions and 0 deletions
1
main.go
1
main.go
|
|
@ -120,6 +120,7 @@ func main() {
|
||||||
RedisConnect(config.Redis.Addr, config.Redis.Password, config.Redis.DB)
|
RedisConnect(config.Redis.Addr, config.Redis.Password, config.Redis.DB)
|
||||||
|
|
||||||
// Connect client and get chain info.
|
// Connect client and get chain info.
|
||||||
|
log.Printf("Get chain info from api at: %s", config.Api)
|
||||||
eosClient = eos.New(config.Api)
|
eosClient = eos.New(config.Api)
|
||||||
chainInfo, err = eosClient.GetInfo(eosClientCtx)
|
chainInfo, err = eosClient.GetInfo(eosClientCtx)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue