Skip to content

Commit

Permalink
Fixed mistake in generateRequests
Browse files Browse the repository at this point in the history
forgot to pass in the authticket
  • Loading branch information
cheesynoob authored Aug 6, 2016
1 parent d3d84df commit b7845a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pgoapi/utilities.py
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ def generateLocation2(lat, lng, alt):
locationHash = xxhash.xxh32(locationBytes, seed=0x1B845238).intdigest() #Hash of location using static seed 0x1B845238
return locationHash

def generateRequests(requests): #u24
def generateRequests(authticket, requests): #u24
firstHash = xxhash.xxh64(bytearray(authticket), seed=0x1B845238).intdigest() #Hashing the auth ticket using static seed 0x1B845238
hashList = [] #Leaving as a list for now
for req in requests:
Expand Down

0 comments on commit b7845a2

Please sign in to comment.