Poseidon252 icon indicating copy to clipboard operation
Poseidon252 copied to clipboard

Let `finalize` return the hash directly and not wrapped into a `Result`

Open moCello opened this issue 11 months ago • 0 comments

Summary

Change finalize in both Hash and HashGadget to return the hash directly. We can do this since we start and finish the Safe instance in the same method and hence have direct control over the correctness of the io-pattern (which is the only way the method would error), i.e. an error is in fact not possible.

moCello avatar Apr 02 '24 15:04 moCello