Cast time as int before assembling addr message
This commit is contained in:
parent
0c07bb6257
commit
b66dfcaebb
|
@ -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]))
|
||||||
|
|
Reference in New Issue
Block a user