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,
Peer(
'127.0.0.1',
config.safeGetInt(
'bitmessagesettings', 'port')),
time.time())
config.safeGetInt('bitmessagesettings', 'port')),
int(time.time()))
connection.append_write_buf(assembleAddrMessage([addr]))