Skip to content

Commit 8582cc2

Browse files
authored
docs: update config docs (#2917)
Corrects config options in readme.
1 parent 06fc82d commit 8582cc2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/config/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,8 @@ const privateKey = await loadOrCreateSelfKey(datastore, keychainInit)
5050

5151
const node = await createLibp2p({
5252
privateKey,
53+
datastore,
5354
services: {
54-
datastore,
5555
keychain: keychain(keychainInit)
5656
}
5757
})

packages/config/src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@
2727
*
2828
* const node = await createLibp2p({
2929
* privateKey,
30+
* datastore,
3031
* services: {
31-
* datastore,
3232
* keychain: keychain(keychainInit)
3333
* }
3434
* })

0 commit comments

Comments
 (0)