Cast time as int before assembling addr message

This commit is contained in:
Lee Miller 2023-01-04 02:36:04 +02:00
parent 0c07bb6257
commit b66dfcaebb
Signed by untrusted user: lee.miller
GPG Key ID: 4F97A5EA88F4AB63

View File

@ -39,7 +39,6 @@ class AnnounceThread(StoppableThread):
stream, stream,
Peer( Peer(
'127.0.0.1', '127.0.0.1',
config.safeGetInt( config.safeGetInt('bitmessagesettings', 'port')),
'bitmessagesettings', 'port')), int(time.time()))
time.time())
connection.append_write_buf(assembleAddrMessage([addr])) connection.append_write_buf(assembleAddrMessage([addr]))