docs fixes.
This commit is contained in:
parent
67f35296b2
commit
26b3d92acf
@ -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}].
|
||||
*/
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user