ralexstokes / ssz-rs

Implementation of ethereum's `ssz`
Apache License 2.0
102 stars 40 forks source link

refactor: drop `mut` on `HashTreeRoot::hash_tree_root` #151

Closed ralexstokes closed 5 months ago

ralexstokes commented 5 months ago

this was originally left mut to facilitate caching of the Merkle tree, but given it is a big ask in Rust, let's drop it and make the resulting simplifications