From 78561c3e35edda83db85e8ae8f067ae55d2309b9 Mon Sep 17 00:00:00 2001 From: Olaoluwa Osuntokun Date: Mon, 20 Feb 2017 16:34:16 -0800 Subject: [PATCH] routing: fix compile error in definition due to chainntfns API change --- routing/router.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/routing/router.go b/routing/router.go index dadc4a34..ad9ecfbe 100644 --- a/routing/router.go +++ b/routing/router.go @@ -113,7 +113,7 @@ type ChannelRouter struct { // newBlocks is a channel in which new blocks connected to the end of // the main chain are sent over. - newBlocks chan *chainntnfs.BlockEpoch + newBlocks <-chan *chainntnfs.BlockEpoch // networkMsgs is a channel that carries new network messages from // outside the ChannelRouter to be processed by the networkHandler.