From 451688b20a97c2fe90cacf0e6cb5f56b967268a0 Mon Sep 17 00:00:00 2001 From: Joe Caswell <1626320+joecaswell@users.noreply.github.com> Date: Tue, 12 Apr 2022 14:16:30 -0700 Subject: [PATCH] typo fix --- src/peerbook/libp2p_peer_resolution.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/peerbook/libp2p_peer_resolution.erl b/src/peerbook/libp2p_peer_resolution.erl index 6cecc794a..da3bd4583 100644 --- a/src/peerbook/libp2p_peer_resolution.erl +++ b/src/peerbook/libp2p_peer_resolution.erl @@ -48,7 +48,7 @@ install_handler(G, Handle) -> -spec handle_gossip_data(pid(), seed | inbound | peerbook, string(), {string(), binary()}, libp2p_peerbook:peerbook()) -> {reply, iodata()} | noreply. handle_gossip_data(_StreamPid, _Kind, undefined, {_Path, _Data}, _Handle) -> - noteply; + noreply; handle_gossip_data(_StreamPid, Kind, GossipPeer, {_Path, Data}, Handle) -> %% check this peer is actually legitimately connected to us so %% we don't poison the throttle