Browse Source

fix readme example code

v4
Francis Gulotta 6 years ago
committed by Mathias Buus
parent
commit
581b283ea8
  1. 2
      README.md

2
README.md

@ -60,7 +60,7 @@ function createNode () {
},
// When someone is querying for a "lookup" command
query (query, cb) {
const value = values[query.target.toString('hex')]
const value = values.get(query.target.toString('hex'))
cb(null, value)
}
})

Loading…
Cancel
Save