diff --git a/p2p/p2p.go b/p2p/p2p.go index 2767e06e2..fd5ad3093 100644 --- a/p2p/p2p.go +++ b/p2p/p2p.go @@ -167,7 +167,7 @@ func NewWithHost(p2phost host.Host, peers string, feederNode bool, bc *blockchai func makeDHT(p2phost host.Host, addrInfos []peer.AddrInfo) (*dht.IpfsDHT, error) { return dht.New(context.Background(), p2phost, - dht.ProtocolPrefix(starknet.Prefix+"/kad/SN_SEPOLIA/1.0.0"), + dht.ProtocolPrefix(starknet.Prefix), dht.BootstrapPeers(addrInfos...), dht.RoutingTableRefreshPeriod(routingTableRefreshPeriod), dht.Mode(dht.ModeServer), diff --git a/p2p/starknet/handlers.go b/p2p/starknet/handlers.go index f1311ea2e..28c4eee5f 100644 --- a/p2p/starknet/handlers.go +++ b/p2p/starknet/handlers.go @@ -56,7 +56,6 @@ func getBuffer() *bytes.Buffer { func streamHandler[ReqT proto.Message](ctx context.Context, wg *sync.WaitGroup, stream network.Stream, reqHandler func(req ReqT) (iter.Seq[proto.Message], error), log utils.SimpleLogger, ) { - fmt.Println("streamHandler") wg.Add(1) defer wg.Done()