diff --git a/src/network/announcethread.py b/src/network/announcethread.py index 5fcf0dfa..84807757 100644 --- a/src/network/announcethread.py +++ b/src/network/announcethread.py @@ -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]))