mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 19:09:54 +00:00
clippy: add redundant_else clippy lint (#10525)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
This commit is contained in:
@ -75,6 +75,7 @@ pub fn state_root_unsorted<A: Into<TrieAccount>>(
|
||||
}
|
||||
|
||||
/// Calculates the root hash of the state represented as MPT.
|
||||
///
|
||||
/// Corresponds to [geth's `deriveHash`](https://github.com/ethereum/go-ethereum/blob/6c149fd4ad063f7c24d726a73bc0546badd1bc73/core/genesis.go#L119).
|
||||
///
|
||||
/// # Panics
|
||||
|
||||
Reference in New Issue
Block a user