mirror of
https://github.com/LBRYFoundation/lbcwallet.git
synced 2025-08-23 17:47:29 +00:00
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 we reset, signal that.
|
||||||
if reset {
|
if reset {
|
||||||
select {
|
select {
|
||||||
case c.rescanUpdate <- reset:
|
case c.rescanUpdate <- struct{}{}:
|
||||||
case <-c.quit:
|
case <-c.quit:
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue