mirror of
https://github.com/varun-r-mallya/py-libp2p.git
synced 2026-02-12 16:10:57 +00:00
Merge pull request #803 from acul71/fix/fix-592-32bytes_prefix_go_fixme_comment
Remove FIXME about 32 bytes prefix in noise
This commit is contained in:
@ -41,7 +41,8 @@ class BaseNoiseMsgReadWriter(EncryptedMsgReadWriter):
|
|||||||
read_writer: NoisePacketReadWriter
|
read_writer: NoisePacketReadWriter
|
||||||
noise_state: NoiseState
|
noise_state: NoiseState
|
||||||
|
|
||||||
# FIXME: This prefix is added in msg#3 in Go. Check whether it's a desired behavior.
|
# NOTE: This prefix is added in msg#3 in Go.
|
||||||
|
# Support in py-libp2p is available but not used
|
||||||
prefix: bytes = b"\x00" * 32
|
prefix: bytes = b"\x00" * 32
|
||||||
|
|
||||||
def __init__(self, conn: IRawConnection, noise_state: NoiseState) -> None:
|
def __init__(self, conn: IRawConnection, noise_state: NoiseState) -> None:
|
||||||
|
|||||||
1
newsfragments/592.internal.rst
Normal file
1
newsfragments/592.internal.rst
Normal file
@ -0,0 +1 @@
|
|||||||
|
remove FIXME comment since it's obsolete and 32-byte prefix support is there but not enabled by default
|
||||||
Reference in New Issue
Block a user