Handle notifications from chain in own goroutine.
This change is in response to the recent change in btcchain such that notifications are no longer sent in their own goroutine.
This commit is contained in:
parent
9c8cd4dee1
commit
a69647b94d
1 changed files with 1 additions and 1 deletions
|
@ -327,7 +327,7 @@ out:
|
|||
for !b.shutdown {
|
||||
select {
|
||||
case notification := <-b.chainNotify:
|
||||
b.handleNotifyMsg(notification)
|
||||
go b.handleNotifyMsg(notification)
|
||||
|
||||
case <-b.quit:
|
||||
break out
|
||||
|
|
Loading…
Add table
Reference in a new issue