Browse Source

WIP

feature/update-txman4
Eduard S 3 years ago
parent
commit
124d2e84f2
1 changed files with 6 additions and 1 deletions
  1. +6
    -1
      node/node.go

+ 6
- 1
node/node.go

@ -2,6 +2,7 @@ package node
import (
"context"
"errors"
"fmt"
"net/http"
"sync"
@ -579,7 +580,11 @@ func (n *Node) StartSynchronizer() {
if n.ctx.Err() != nil {
continue
}
log.Errorw("Synchronizer.Sync", "err", err)
if errors.Is(err, eth.ErrBlockHashMismatchEvent) {
log.Warnw("Synchronizer.Sync", "err", err)
} else {
log.Errorw("Synchronizer.Sync", "err", err)
}
}
}
}

Loading…
Cancel
Save