Skip to content

Commit

Permalink
docs: fixing naming conventions in readme
Browse files Browse the repository at this point in the history
  • Loading branch information
dryajov committed Dec 13, 2017
1 parent 993063e commit 7df0c81
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,11 +67,11 @@ const daemonFactory = require('ipfsd-ctl')
const local = daemonFactory.localController

local.spawn(function (err, ipfsd) {
const ipfs = ipfsd.ctl
const node = ipfsd.ctrl
ipfs.id(function (err, id) {
const ipfsCtl = ipfsd.ctl
const ipfsCtrl = ipfsd.ctrl
ipfsCtl.id(function (err, id) {
console.log(id)
node.stopDaemon()
ipfsCtrl.stopDaemon()
})
})
```
Expand Down

0 comments on commit 7df0c81

Please sign in to comment.