Skip to content

Commit 19ecc19

Browse files
committed
chainnrnfs/neutrino: return on historicalConf error
Would otherwise update height hint cache even on error during rescan.
1 parent 5d7bb74 commit 19ecc19

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

chainntnfs/neutrinonotify/neutrino.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -315,6 +315,7 @@ out:
315315
)
316316
if err != nil {
317317
chainntnfs.Log.Error(err)
318+
return
318319
}
319320

320321
// If the historical dispatch finished

0 commit comments

Comments
 (0)