Merge pull request #641 from Gadzook8/patch-1

Fixed example code in Guide.md
This commit is contained in:
shamb0t 2019-06-07 03:59:57 -07:00 committed by GitHub
commit a0c08259ca
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -68,7 +68,7 @@ const ipfsOptions = {
// Create IPFS instance // Create IPFS instance
const ipfs = new IPFS(ipfsOptions) const ipfs = new IPFS(ipfsOptions)
ipfs.on('ready', () => { ipfs.on('ready', async () => {
// Create OrbitDB instance // Create OrbitDB instance
const orbitdb = await OrbitDB.createInstance(ipfs) const orbitdb = await OrbitDB.createInstance(ipfs)
}) })