fix #3922: wrong parameter passed to connection_down

This commit is contained in:
ThomasV 2018-02-23 09:35:07 +01:00
parent 8329faf760
commit d38a50b119

View file

@ -991,7 +991,7 @@ class Network(util.DaemonThread):
if not height:
return
if height < self.max_checkpoint():
self.connection_down(interface)
self.connection_down(interface.server)
return
interface.tip_header = header
interface.tip = height