This commit is contained in:
drethereum 2023-12-21 16:06:00 -07:00
parent 8ebc6c43b8
commit 519459c7b4

View File

@ -198,8 +198,8 @@ def transform_base58_to_hex(input):
hex_string = hex(num)[2:]
if len(hex_string) <= 64:
hex_string = hex_string.zfill(64)
if len(hex_string) % 2 != 0:
hex_string = '0' + hex_string
return '0x' + hex_string