refactor: Peer no longer needs Router

Hooray!
This commit is contained in:
Matthias Radestock committed 2014-12-25 13:05:22 +00:00
1 parent 465915d7d4
commit 3ba5a5024e
4 files changed
+6 -10

No files matched your search

+1 -1
View File
@@ -32,12 +32,12 @@ type Peer struct {
connections map[PeerName]Connection
version uint64
UID uint64
Router *Router
localRefCount uint64
}
type LocalPeer struct {
*Peer
Router *Router
queryChan chan<- *PeerInteraction
}