From 096722488e79edb5c504a664c533aa7688455ccd Mon Sep 17 00:00:00 2001 From: James Ray <16969914+jamesray1@users.noreply.github.com> Date: Mon, 17 Sep 2018 14:57:32 +1000 Subject: [PATCH] pubish -> publish --- gossipsub.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gossipsub.go b/gossipsub.go index a9d7344..fcdf298 100644 --- a/gossipsub.go +++ b/gossipsub.go @@ -60,7 +60,7 @@ type GossipSubRouter struct { peers map[peer.ID]protocol.ID // peer protocols mesh map[string]map[peer.ID]struct{} // topic meshes fanout map[string]map[peer.ID]struct{} // topic fanout - lastpub map[string]int64 // last pubish time for fanout topics + lastpub map[string]int64 // last publish time for fanout topics gossip map[peer.ID][]*pb.ControlIHave // pending gossip control map[peer.ID]*pb.ControlMessage // pending control messages mcache *MessageCache