Skip to content

Commit

Permalink
Fixes StarknetPoseidonTranscript implementation
Browse files Browse the repository at this point in the history
  • Loading branch information
raugfer committed Jan 7, 2025
1 parent d881cda commit 91be12a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions hydra/garaga/precompiled_circuits/honk.py
Original file line number Diff line number Diff line change
Expand Up @@ -488,9 +488,8 @@ def reset(self):
int.from_bytes(b"StarknetHonk", "big"), 0, 1
)

def digest_reset(self) -> bytes:
def digest(self) -> bytes:
res_bytes = self.s0.to_bytes(32, "big")
self.reset()
return res_bytes

def update(self, data: bytes):
Expand Down

0 comments on commit 91be12a

Please sign in to comment.