fixed announce bug from refactor and added static data readme
This commit is contained in:
parent
c85bb73d77
commit
2d78d3d017
4 changed files with 22 additions and 2 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue