git ssb

0+

wanderer🌟 / js-dfinity-radix-tree



Commit f9661bdacce6cf38306dfab66da860f6e2e9c4be

update docs

Signed-off-by: wanderer <mjbecze@gmail.com>
wanderer committed on 12/2/2017, 6:34:26 AM
Parent: 6fd6059129f2f7a3affd4fdc4f14a1a513f78811

Files changed

README.mdchanged
index.jschanged
README.mdView
@@ -42,9 +42,9 @@
4242 db: db,
4343 root: merkleroot
4444 })
4545
46- const {value} = await verifier.get('monkey')
46 + const value = await verifier.get('monkey')
4747 console.log(value.toString())
4848 }
4949
5050 main()
index.jsView
@@ -37,11 +37,9 @@
3737 return new RadixTree({dag: this.dag, root: root, appendKeyToRoot: true})
3838 }
3939
4040 /**
41- * gets a value given a key. The promise resolves with an object containing
42- * `node` the node in the merkle tree and `value` the value of the that the
43- * node contains
41 + * gets a value given a key
4442 * @param {*} key
4543 * @return {Promise}
4644 */
4745 async get (key, decode) {

Built with git-ssb-web