aboutsummaryrefslogtreecommitdiffstats
path: root/ethutil
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2014-02-28 19:19:01 +0800
committerobscuren <geffobscura@gmail.com>2014-02-28 19:19:01 +0800
commit9d06f9e6fbc20006df6812ed3feb5d8058c0b0a6 (patch)
tree42d3e4cdf995647e1541986484b74070ed82e7ec /ethutil
parentc0fcefa3a023c643040b3d9e300980bd32c33dff (diff)
downloadgo-tangerine-9d06f9e6fbc20006df6812ed3feb5d8058c0b0a6.tar.gz
go-tangerine-9d06f9e6fbc20006df6812ed3feb5d8058c0b0a6.tar.zst
go-tangerine-9d06f9e6fbc20006df6812ed3feb5d8058c0b0a6.zip
Updated readme#trie
Diffstat (limited to 'ethutil')
-rw-r--r--ethutil/README.md4
1 files changed, 3 insertions, 1 deletions
diff --git a/ethutil/README.md b/ethutil/README.md
index c98612e1e..1ed56b71b 100644
--- a/ethutil/README.md
+++ b/ethutil/README.md
@@ -53,6 +53,8 @@ trie.Put("doge", "coin")
// Look up the key "do" in the trie
out := trie.Get("do")
fmt.Println(out) // => verb
+
+trie.Delete("puppy")
```
The patricia trie, in combination with RLP, provides a robust,
@@ -82,7 +84,7 @@ type (e.g. `Slice()` returns []interface{}, `Uint()` return 0, etc).
`NewEmptyValue()` returns a new \*Value with it's initial value set to a
`[]interface{}`
-`AppendLint()` appends a list to the current value.
+`AppendList()` appends a list to the current value.
`Append(v)` appends the value (v) to the current value/list.