Moved env_to_send_in_RPC function to libp2p/peer/peerstore.py

This commit is contained in:
lla-dane
2025-08-23 16:20:24 +05:30
parent 5bf9c7b537
commit 91bee9df89
6 changed files with 76 additions and 73 deletions

View File

@ -16,7 +16,6 @@ from multiaddr import (
import trio
import varint
from libp2p import env_to_send_in_RPC
from libp2p.abc import (
IHost,
)
@ -30,6 +29,7 @@ from libp2p.peer.id import (
from libp2p.peer.peerinfo import (
PeerInfo,
)
from libp2p.peer.peerstore import env_to_send_in_RPC
from .common import (
ALPHA,