From 7acc49dddbd573aa2f5efd9295742fa74969faed Mon Sep 17 00:00:00 2001 From: Olaoluwa Osuntokun Date: Mon, 5 Jun 2017 12:22:09 -0700 Subject: [PATCH] chain: also register blockConnected for NotigyReceived calls --- chain/neutrino.go | 1 + 1 file changed, 1 insertion(+) diff --git a/chain/neutrino.go b/chain/neutrino.go index 5b881aa..816366d 100644 --- a/chain/neutrino.go +++ b/chain/neutrino.go @@ -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, }),