refactor: separate NullNetworkOverlay from NullOverlay

This commit is contained in:
Matthias Radestock committed 2015-11-09 15:47:07 +00:00
1 parent 18f8e29af8
commit 7cc0052451
2 files changed
+17 -16

No files matched your search

+1 -1
View File
@@ -78,7 +78,7 @@ func NewRouter(config Config, name PeerName, nickName string, overlay NetworkOve
}
if overlay == nil {
overlay = NullOverlay{}
overlay = NullNetworkOverlay{}
}
router.Overlay = overlay