Skip to content

Commit

Permalink
Fix incorrect log condition
Browse files Browse the repository at this point in the history
  • Loading branch information
leventeliu committed May 15, 2019
1 parent 65a496b commit c637d63
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion blockproducer/chain.go
Original file line number Diff line number Diff line change
Expand Up @@ -666,7 +666,7 @@ func (c *Chain) syncCurrentHead(ctx context.Context, requiredReachable uint32) (
log.Fatalf("unknown run mode: %v", c.mode)
}

if ok {
if !ok {
log.WithFields(log.Fields{
"peer": c.getLocalBPInfo(),
"sync_head_height": currentHeight,
Expand Down

0 comments on commit c637d63

Please sign in to comment.