Skip to content

Commit

Permalink
Update types.go
Browse files Browse the repository at this point in the history
Co-authored-by: Redouane Lakrache <[email protected]>
Signed-off-by: Daniel Olshansky <[email protected]>
  • Loading branch information
Olshansk and red-0ne authored Jun 11, 2024
1 parent 5e49112 commit 76f2699
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion types.go
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ type SparseMerkleSumTrie interface {
// Delete deletes a value from the SMST. Raises an error if the key is not present.
Delete(key []byte) error
// Get descends the trie to access a value. Returns nil if key is not present.
Get(key []byte) (data []byte, sum uint64, count uint64, err error)
Get(key []byte) (data []byte, sum, count uint64, err error)
// Root computes the Merkle root digest.
Root() MerkleRoot
// Sum computes the total sum of the Merkle trie
Expand Down

0 comments on commit 76f2699

Please sign in to comment.