chain: send empty struct instance rather than bool to reset filters
This commit is contained in:
parent
7df2b72beb
commit
0b269d799e
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue