From 64b5b448f5e6853a2d870f388504a7807bc951f1 Mon Sep 17 00:00:00 2001 From: Olaoluwa Osuntokun Date: Fri, 13 Jul 2018 16:46:45 -0700 Subject: [PATCH] chain: update neutrino API usage --- chain/neutrino.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/chain/neutrino.go b/chain/neutrino.go index 4684464..c75dacd 100644 --- a/chain/neutrino.go +++ b/chain/neutrino.go @@ -385,7 +385,7 @@ func (s *NeutrinoClient) Rescan(startHash *chainhash.Hash, addrs []btcutil.Addre neutrino.WatchAddrs(addrs...), neutrino.WatchOutPoints(watchOutPoints...), ) - s.rescan = &newRescan + s.rescan = newRescan s.rescanErr = s.rescan.Start() return nil @@ -433,7 +433,7 @@ func (s *NeutrinoClient) NotifyReceived(addrs []btcutil.Address) error { neutrino.QuitChan(s.rescanQuit), neutrino.WatchAddrs(addrs...), ) - s.rescan = &newRescan + s.rescan = newRescan s.rescanErr = s.rescan.Start() s.clientMtx.Unlock() return nil