Fix peeraction still using comm_inst

master
Kevin 2020-08-07 21:57:02 -05:00
parent 5930f3bfad
commit 077f530b72
1 changed files with 1 additions and 1 deletions

View File

@ -69,7 +69,7 @@ def peer_action(shared_state, peer, action,
except ValueError:
pass
else:
peer_profile = comm_inst.getPeerProfileInstance(peer)
peer_profile = get_peer_profile(kv, peer)
peer_profile.update_connect_time()
peer_profile.addScore(1)
# If returnHeaders, returns tuple of data, headers.