From d497a2225b689a5f085d602d153e4eb429a1a640 Mon Sep 17 00:00:00 2001 From: paschal533 Date: Sun, 23 Feb 2025 17:15:48 +0100 Subject: [PATCH] fix: broken import in the examples after net_stream_interface rename --- examples/chat/chat.py | 2 +- examples/echo/echo.py | 2 +- examples/ping/ping.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/examples/chat/chat.py b/examples/chat/chat.py index 048d1e3d..650c8aed 100755 --- a/examples/chat/chat.py +++ b/examples/chat/chat.py @@ -10,7 +10,7 @@ from libp2p import ( from libp2p.custom_types import ( TProtocol, ) -from libp2p.network.stream.net_stream_interface import ( +from libp2p.network.stream.net_stream import ( INetStream, ) from libp2p.peer.peerinfo import ( diff --git a/examples/echo/echo.py b/examples/echo/echo.py index 331a8309..0f6c28ab 100644 --- a/examples/echo/echo.py +++ b/examples/echo/echo.py @@ -12,7 +12,7 @@ from libp2p.crypto.secp256k1 import ( from libp2p.custom_types import ( TProtocol, ) -from libp2p.network.stream.net_stream_interface import ( +from libp2p.network.stream.net_stream import ( INetStream, ) from libp2p.peer.peerinfo import ( diff --git a/examples/ping/ping.py b/examples/ping/ping.py index a6690dbd..535d8473 100644 --- a/examples/ping/ping.py +++ b/examples/ping/ping.py @@ -9,7 +9,7 @@ from libp2p import ( from libp2p.custom_types import ( TProtocol, ) -from libp2p.network.stream.net_stream_interface import ( +from libp2p.network.stream.net_stream import ( INetStream, ) from libp2p.peer.peerinfo import (