Skip to content

Commit 527416a

Browse files
committed
Minor fix
1 parent e242a25 commit 527416a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

sqlchain/chain.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -640,6 +640,7 @@ func (c *Chain) syncHead() (err error) {
640640
}).Debug("fetch block request reply: found block")
641641
select {
642642
case c.blocks <- resp.Block:
643+
atomic.AddUint32(&succCount, 1)
643644
case <-child.Done():
644645
le.WithError(child.Err()).Info("abort head block synchronizing")
645646
return

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy