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

Commit 0a6a2ca

Browse files
committed
remove unneeded await from examples
1 parent 9c137ad commit 0a6a2ca

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ async function test() {
2020
const value = await trie.get(Buffer.from('test'))
2121
console.log(value.toString()) // 'one'
2222
}
23-
await test()
23+
test()
2424
```
2525

2626
### Breaking Changes

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ async function test() {
3636
console.log(value.toString()) // 'one'
3737
}
3838

39-
await test()
39+
test()
4040
```
4141

4242
## Merkle Proofs
@@ -48,7 +48,7 @@ async function test() {
4848
console.log(value.toString())
4949
}
5050

51-
await test()
51+
test()
5252
```
5353

5454
## Read stream on Geth DB
@@ -112,7 +112,7 @@ async function test() {
112112
})
113113
}
114114

115-
await test()
115+
test()
116116
```
117117

118118
# API

0 commit comments

Comments
 (0)