bumped api version and removed encode on setdata since it is always bytes now
This commit is contained in:
parent
ae79b7ee3a
commit
8853926287
2 changed files with 2 additions and 2 deletions
|
@ -270,7 +270,7 @@ class Core:
|
|||
'''
|
||||
Set the data assciated with a hash
|
||||
'''
|
||||
data = data.encode()
|
||||
data = data
|
||||
hasher = hashlib.sha3_256()
|
||||
hasher.update(data)
|
||||
dataHash = hasher.hexdigest()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue