@@ -744,7 +744,7 @@ class Pool extends EventEmitter {
744
744
this . filterSyncing = true ;
745
745
const cFHeaderHeight = await this . chain . getCFHeaderHeight ( ) ;
746
746
const startHeight = cFHeaderHeight
747
- ? cFHeaderHeight : 1 ;
747
+ ? cFHeaderHeight + 1 : 1 ;
748
748
const chainHeight = await this . chain . height ;
749
749
const stopHeight = chainHeight > 2000 ? 2000 : chainHeight ;
750
750
const stopHash = await this . chain . getHash ( stopHeight ) ;
@@ -769,7 +769,7 @@ class Pool extends EventEmitter {
769
769
this . filterSyncing = true ;
770
770
const cFilterHeight = await this . chain . getCFilterHeight ( ) ;
771
771
const startHeight = cFilterHeight
772
- ? cFilterHeight : 1 ;
772
+ ? cFilterHeight + 1 : 1 ;
773
773
const chainHeight = await this . chain . height ;
774
774
const stopHeight = chainHeight > 1000 ? 1000 : chainHeight ;
775
775
const stopHash = await this . chain . getHash ( stopHeight ) ;
@@ -1761,10 +1761,7 @@ class Pool extends EventEmitter {
1761
1761
return ;
1762
1762
1763
1763
if ( this . neutrino ) {
1764
- const locator = await this . chain . getLocator ( ) ;
1765
- this . sendLocator ( locator , peer ) ;
1766
- if ( ! this . syncing )
1767
- this . startFilterHeadersSync ( ) ;
1764
+ this . startSync ( ) ;
1768
1765
return ;
1769
1766
}
1770
1767
@@ -3668,9 +3665,6 @@ class Pool extends EventEmitter {
3668
3665
*/
3669
3666
3670
3667
getBlock ( peer , hashes ) {
3671
- if ( this . options . neutrino )
3672
- return ;
3673
-
3674
3668
if ( ! this . opened )
3675
3669
return ;
3676
3670
0 commit comments