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:
Dave Collins 2013-09-21 09:57:47 -05:00
parent 9c8cd4dee1
commit a69647b94d

View file

@ -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