Fix peeraction still using comm_inst
This commit is contained in:
parent
5930f3bfad
commit
077f530b72
@ -69,7 +69,7 @@ def peer_action(shared_state, peer, action,
|
|||||||
except ValueError:
|
except ValueError:
|
||||||
pass
|
pass
|
||||||
else:
|
else:
|
||||||
peer_profile = comm_inst.getPeerProfileInstance(peer)
|
peer_profile = get_peer_profile(kv, peer)
|
||||||
peer_profile.update_connect_time()
|
peer_profile.update_connect_time()
|
||||||
peer_profile.addScore(1)
|
peer_profile.addScore(1)
|
||||||
# If returnHeaders, returns tuple of data, headers.
|
# If returnHeaders, returns tuple of data, headers.
|
||||||
|
Loading…
Reference in New Issue
Block a user