chain: fix RescanFinished notification

This commit is contained in:
Alex 2017-05-24 12:02:56 -06:00 committed by Olaoluwa Osuntokun
parent d6bcab4912
commit 3601b2fa14

View file

@ -264,7 +264,7 @@ func (s *SPVChain) onFilteredBlockConnected(height int32,
s.finished = true s.finished = true
s.clientMtx.Unlock() s.clientMtx.Unlock()
select { select {
case s.enqueueNotification <- RescanFinished{ case s.enqueueNotification <- &RescanFinished{
Hash: &bs.Hash, Hash: &bs.Hash,
Height: bs.Height, Height: bs.Height,
Time: header.Timestamp, Time: header.Timestamp,