docs fixes.

This commit is contained in:
Christopher Jeffrey 2016-04-15 07:50:08 -07:00
parent 67f35296b2
commit 26b3d92acf
No known key found for this signature in database
GPG Key ID: 8962AB9DE6666BBD

View File

@ -501,7 +501,7 @@ ChainDB.prototype.getTip = function getTip(callback) {
/**
* Connect the block to the chain.
* @param {ChainBlock|Hash|Height} block - {@link Block}, height, or hash.
* @param {ChainBlock|Hash|Height} block - entry, height, or hash.
* @param {Function} callback - Returns [Error, {@link ChainBlock}].
*/
@ -542,7 +542,7 @@ ChainDB.prototype.connect = function connect(block, callback) {
/**
* Disconnect block from the chain.
* @param {ChainBlock|Hash|Height - block {@link Block}, height, or hash.
* @param {ChainBlock|Hash|Height} block - Entry, height, or hash.
* @param {Function} callback - Returns [Error, {@link ChainBlock}].
*/