chain: also register blockConnected for NotigyReceived calls
This commit is contained in:
parent
772fbd4726
commit
7acc49dddb
1 changed files with 1 additions and 0 deletions
|
@ -228,6 +228,7 @@ func (s *NeutrinoClient) NotifyReceived(addrs []btcutil.Address) error {
|
|||
// Rescan with just the specified addresses.
|
||||
s.rescan = s.CS.NewRescan(
|
||||
neutrino.NotificationHandlers(btcrpcclient.NotificationHandlers{
|
||||
OnBlockConnected: s.onBlockConnected,
|
||||
OnFilteredBlockConnected: s.onFilteredBlockConnected,
|
||||
OnBlockDisconnected: s.onBlockDisconnected,
|
||||
}),
|
||||
|
|
Loading…
Reference in a new issue