final rebranding to NYC3
This commit is contained in:
@@ -219,7 +219,7 @@ class P2PConnection(asyncio.Protocol):
|
||||
if not self._transport:
|
||||
return
|
||||
# Python <3.4.4 does not have is_closing, so we have to check for
|
||||
# its existence explicitly as long as Bitcoin Core supports all
|
||||
# its existence explicitly as long as NYC3 supports all
|
||||
# Python 3.4 versions.
|
||||
if hasattr(self._transport, 'is_closing') and self._transport.is_closing():
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user