mirror of
https://github.com/logos-messaging/logos-messaging-interop-tests.git
synced 2026-01-02 14:03:08 +00:00
updating the hash-computing function to use hex
This commit is contained in:
parent
12a9ec96ca
commit
290acadb60
@ -57,7 +57,7 @@ class StepsCommon:
|
||||
ctx.update(base64.b64decode(msg["meta"]))
|
||||
ctx.update(int(msg["timestamp"]).to_bytes(8, byteorder="big"))
|
||||
hash_bytes = ctx.digest()
|
||||
return base64.b64encode(hash_bytes).decode("utf-8")
|
||||
return "0x" + hash_bytes.hex()
|
||||
|
||||
def get_time_list_pass(self):
|
||||
ts_pass = [
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user