From a69647b94d47afe76636b9f3e1449bf3c1987d12 Mon Sep 17 00:00:00 2001 From: Dave Collins Date: Sat, 21 Sep 2013 09:57:47 -0500 Subject: [PATCH] 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. --- blockmanager.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/blockmanager.go b/blockmanager.go index 9fc80f00..fea9ecff 100644 --- a/blockmanager.go +++ b/blockmanager.go @@ -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