Browse Source

change index block log to info (#6290)

## Description

Change log from error to info for indexing blocks
pull/6299/head
Marko 4 years ago
committed by GitHub
parent
commit
32ee737d42
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      state/txindex/indexer_service.go

+ 1
- 1
state/txindex/indexer_service.go View File

@ -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 {


Loading…
Cancel
Save