pysnark icon indicating copy to clipboard operation
pysnark copied to clipboard

Example For Hash String Fails To Work

Open AtropineTears opened this issue 3 years ago • 0 comments

Hello,

I am trying to use the hash_string.py example you gave. It raises the following error

AssertionError: 21888242871839275222246405745257275088548364400416034343698204186575808495616 is not a 16-bit positive integer

from the line:

hashed = ggh_hash(packer.pack(witness))

AtropineTears avatar Dec 04 '21 17:12 AtropineTears