Skip to content

Commit

Permalink
Update pkg/trie/triedb/triedb.go
Browse files Browse the repository at this point in the history
Co-authored-by: Haiko Schol <[email protected]>
  • Loading branch information
timwu20 and haikoschol authored Nov 13, 2024
1 parent d5ccb3d commit d75f965
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/trie/triedb/triedb.go
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@ func (t *TrieDB[H, Hasher]) insert(keyNibbles nibbles.Nibbles, value []byte) err
return nil
}

// Put inserts the given key / value pair into the trie
// Set inserts the given key / value pair into the trie
func (t *TrieDB[H, Hasher]) Set(key, value []byte) error {
copiedKey := append([]byte{}, key...)
copiedValue := append([]byte{}, value...)
Expand Down

0 comments on commit d75f965

Please sign in to comment.