Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
KtorZ authored Jun 4, 2024
1 parent 73b5ff0 commit b4eff8b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion off-chain/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ await items.reduce(async (trie, { key, value }) => {
#### `trie.delete(key: string|Buffer) -> Promise<Trie>`

Similarly, the reverse operation `remove` is available to remove elements from the trie. It fails with an exception if the given key is not in the trie. For convenience, it returns the same reference to the trie as a Promise.
Similarly, the reverse operation `delete` is available to remove elements from the trie. It fails with an exception if the given key is not in the trie. For convenience, it returns the same reference to the trie as a Promise.

```js
// Remove 'apple'
Expand Down

0 comments on commit b4eff8b

Please sign in to comment.