Fix typo pointed out by hsmiths, thanks

This commit is contained in:
Neil Booth 2017-02-18 23:40:19 +09:00
parent 589f695aaf
commit 9d6b353eec
3 changed files with 7 additions and 2 deletions

View File

@ -136,6 +136,11 @@ version for the release of 1.0.
ChangeLog ChangeLog
========= =========
Version 0.11.3
--------------
* fixed a typo in lib/peer.py pointed out by hsmiths
Version 0.11.2 Version 0.11.2
-------------- --------------

View File

@ -119,7 +119,7 @@ class Peer(object):
# ports first. # ports first.
pairs = [('SSL', self.ssl_port), ('TCP', self.tcp_port)] pairs = [('SSL', self.ssl_port), ('TCP', self.tcp_port)]
while self.other_port_pairs: while self.other_port_pairs:
pairs.append(other_port_pairs.pop()) pairs.append(self.other_port_pairs.pop())
return [pair for pair in pairs if pair[1]] return [pair for pair in pairs if pair[1]]
def mark_bad(self): def mark_bad(self):

View File

@ -1,5 +1,5 @@
# Server name and protocol versions # Server name and protocol versions
VERSION = 'ElectrumX 0.11.2' VERSION = 'ElectrumX 0.11.3'
PROTOCOL_MIN = '1.0' PROTOCOL_MIN = '1.0'
PROTOCOL_MAX = '1.0' PROTOCOL_MAX = '1.0'