Skip to content

Commit

Permalink
fix: added wallet information initialization
Browse files Browse the repository at this point in the history
  • Loading branch information
YarikRevich committed Sep 1, 2024
1 parent 905b261 commit b669b27
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -211,6 +211,13 @@ func initConfig() {
os.Exit(1)
}

// set wallet info along whether split key is used
err = zcncore.SetWalletInfo(walletJSON, false)
if err != nil {
fmt.Println("Error in wallet info initialization", err)
os.Exit(1)
}

// additional settings depending network latency
blockchain.SetMaxTxnQuery(cfg.MaxTxnQuery)
blockchain.SetQuerySleepTime(cfg.QuerySleepTime)
Expand Down

0 comments on commit b669b27

Please sign in to comment.