Skip to content

Commit

Permalink
add log to test config parsing
Browse files Browse the repository at this point in the history
  • Loading branch information
bd21 committed Oct 17, 2023
1 parent f8f44f9 commit 19d25a5
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 0 additions & 1 deletion cmd/noble/listener.go
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,6 @@ func StartListener(cfg config.Config, logger log.Logger, processingQueue chan *t
go func() {
for {
block := <-blockQueue
logger.Debug(fmt.Sprintf("Querying Noble block %d", block))
rawResponse, err := http.Get(fmt.Sprintf("https://rpc.testnet.noble.strange.love/tx_search?query=\"tx.height=%d\"", block))
if err != nil {
logger.Debug(fmt.Sprintf("unable to query Noble block %d", block))
Expand Down
1 change: 1 addition & 0 deletions cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ func init() {
Cfg = config.Parse(cfgFile)
Logger.Info("successfully parsed config file", "location", cfgFile)

Logger.Info("rpc", Cfg.Networks.Source.Ethereum.RPC)
// Set minter addresses from priv keys
for i, minter := range Cfg.Networks.Minters {
switch i {
Expand Down

0 comments on commit 19d25a5

Please sign in to comment.