fixed announce bug from refactor and added static data readme

This commit is contained in:
Kevin Froman 2019-06-13 18:40:45 -05:00
parent c85bb73d77
commit 2d78d3d017
4 changed files with 22 additions and 2 deletions

View file

@ -58,7 +58,7 @@ def announce_node(daemon):
existingRand = ''
if peer in daemon.announceCache:
data['random'] = self.announceCache[peer]
data['random'] = daemon.announceCache[peer]
elif len(existingRand) > 0:
data['random'] = existingRand
else: