chain: send empty struct instance rather than bool to reset filters

This commit is contained in:
Wilmer Paulino 2018-06-25 18:08:19 -07:00
parent 7df2b72beb
commit 0b269d799e
No known key found for this signature in database
GPG key ID: 6DF57B9F9514972F

View file

@ -236,7 +236,7 @@ func (c *BitcoindClient) LoadTxFilter(reset bool,
// If we reset, signal that.
if reset {
select {
case c.rescanUpdate <- reset:
case c.rescanUpdate <- struct{}{}:
case <-c.quit:
return nil
}