No random.seed() in protocol.assembleVersionMessage()

This commit is contained in:
Dmitri Bogomolov 2019-08-01 14:49:31 +03:00
parent ad2a2b3fb4
commit d8d76ed42d
Signed by untrusted user: g1itch
GPG Key ID: 720A756F18DEED13

View File

@ -290,7 +290,6 @@ def assembleVersionMessage(remoteHost, remotePort, participatingStreams, server=
else: # no extport and not incoming over Tor else: # no extport and not incoming over Tor
payload += pack('>H', BMConfigParser().getint('bitmessagesettings', 'port')) payload += pack('>H', BMConfigParser().getint('bitmessagesettings', 'port'))
random.seed()
if nodeid is not None: if nodeid is not None:
payload += nodeid[0:8] payload += nodeid[0:8]
else: else: