chainntnfs/neutrinonotify/neutrino: fix debug logs
This commit is contained in:
parent
e03c818aa7
commit
ba28ec3be0
@ -465,13 +465,13 @@ out:
|
|||||||
|
|
||||||
n.heightMtx.Lock()
|
n.heightMtx.Lock()
|
||||||
if update.height != uint32(n.bestHeight) {
|
if update.height != uint32(n.bestHeight) {
|
||||||
chainntnfs.Log.Infof("Missed disconnected" +
|
chainntnfs.Log.Infof("Missed disconnected " +
|
||||||
"blocks, attempting to catch up")
|
"blocks, attempting to catch up")
|
||||||
}
|
}
|
||||||
|
|
||||||
hash, err := n.p2pNode.GetBlockHash(int64(n.bestHeight))
|
hash, err := n.p2pNode.GetBlockHash(int64(n.bestHeight))
|
||||||
if err != nil {
|
if err != nil {
|
||||||
chainntnfs.Log.Errorf("Unable to fetch block hash"+
|
chainntnfs.Log.Errorf("Unable to fetch block hash "+
|
||||||
"for height %d: %v", n.bestHeight, err)
|
"for height %d: %v", n.bestHeight, err)
|
||||||
n.heightMtx.Unlock()
|
n.heightMtx.Unlock()
|
||||||
continue
|
continue
|
||||||
|
Loading…
Reference in New Issue
Block a user