From 68b2dcdbf888f0538a50ddb8387d2011089f17d8 Mon Sep 17 00:00:00 2001 From: Marco Munizaga Date: Sun, 3 Jul 2022 09:27:18 -0700 Subject: [PATCH] Update allowlist_test.go Co-authored-by: Marten Seemann --- allowlist_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/allowlist_test.go b/allowlist_test.go index e545499..2e8ce3f 100644 --- a/allowlist_test.go +++ b/allowlist_test.go @@ -23,7 +23,7 @@ func ExampleWithAllowlistedMultiaddrs() { multiaddr.StringCast("/ip4/1.2.3.4"), // Only the specified peer from this address multiaddr.StringCast("/ip4/2.2.3.4/p2p/" + peer.Encode(somePeer)), - // Only peers from this IP Address range + // Only peers from this 1.2.3.0/24 IP address range multiaddr.StringCast("/ip4/1.2.3.0/ipcidr/24"), })) if err != nil {