Skip to content

Commit

Permalink
change index block log to info (#6290) (#6294)
Browse files Browse the repository at this point in the history
Change log from error to info for indexing blocks

(cherry picked from commit 32ee737d42d3092dec6c99729927483abc1bd959)

Co-authored-by: Marko <marbar3778@yahoo.com>
  • Loading branch information
tnasu and tac0turtle committed Dec 23, 2021
1 parent f9ce069 commit b59f44d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion state/txindex/indexer_service.go
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ func (is *IndexerService) OnStart() error {
if err := is.blockIdxr.Index(eventDataHeader); err != nil {
is.Logger.Error("failed to index block", "height", height, "err", err)
} else {
is.Logger.Error("indexed block", "height", height)
is.Logger.Info("indexed block", "height", height)
}

if err = is.txIdxr.AddBatch(batch); err != nil {
Expand Down

0 comments on commit b59f44d

Please sign in to comment.