Skip to content
This repository has been archived by the owner on Jan 19, 2021. It is now read-only.

Commit

Permalink
remove unneeded await from examples
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanio committed May 27, 2020
1 parent 9c137ad commit 0a6a2ca
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Expand Up @@ -20,7 +20,7 @@ async function test() {
const value = await trie.get(Buffer.from('test'))
console.log(value.toString()) // 'one'
}
await test()
test()
```

### Breaking Changes
Expand Down
6 changes: 3 additions & 3 deletions README.md
Expand Up @@ -36,7 +36,7 @@ async function test() {
console.log(value.toString()) // 'one'
}

await test()
test()
```

## Merkle Proofs
Expand All @@ -48,7 +48,7 @@ async function test() {
console.log(value.toString())
}

await test()
test()
```

## Read stream on Geth DB
Expand Down Expand Up @@ -112,7 +112,7 @@ async function test() {
})
}

await test()
test()
```

# API
Expand Down

0 comments on commit 0a6a2ca

Please sign in to comment.