Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
timwu20 committed Oct 11, 2024
1 parent 5ff64b9 commit 941f91d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pkg/trie/triedb/cache.go
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,8 @@ func (vo InlineCachedNodeValue[H]) EncodedValue() codec.EncodedValue {
}
func (vo NodeCachedNodeValue[H]) EncodedValue() codec.EncodedValue { return codec.HashedValue[H](vo) }

func newCachedNodeValueFromEncodedValue[H hash.Hash, Hasher hash.Hasher[H]](encVal codec.EncodedValue) CachedNodeValue[H] {
func newCachedNodeValueFromEncodedValue[H hash.Hash, Hasher hash.Hasher[H]](
encVal codec.EncodedValue) CachedNodeValue[H] {
switch encVal := encVal.(type) {
case codec.InlineValue:
return InlineCachedNodeValue[H]{
Expand Down

0 comments on commit 941f91d

Please sign in to comment.