Let finalize
return the hash directly and not wrapped into a Result
#259
Labels
team:Core
Low Level Core Development Team (Rust)
type:enhancement
Issues concerning code or feature improvement (performance, refactoring, etc)
Summary
Change
finalize
in bothHash
andHashGadget
to return the hash directly. We can do this since we start and finish theSafe
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.The text was updated successfully, but these errors were encountered: