Skip to content
This repository has been archived by the owner on Apr 6, 2020. It is now read-only.

Commit

Permalink
getBlocks api comments
Browse files Browse the repository at this point in the history
  • Loading branch information
aakilfernandes committed Aug 25, 2016
1 parent 2d72dc4 commit 58ec4b4
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion index.js
Expand Up @@ -300,7 +300,9 @@ Blockchain.prototype.getBlock = function (hash, cb) {
/**
*Gets a block by its hash
* @method getBlocks
* @param blockId - the block's hash or number
* @param {Buffer|Number} blockId - the block's hash or number
* @param {Number} skip - number of blocks to skip
* @param {Bool} reverse - fetch blocks in reverse
* @param {Function} cb - the callback function
*/
Blockchain.prototype.getBlocks = function (blockId, maxBlocks, skip, reverse, cb) {
Expand Down

0 comments on commit 58ec4b4

Please sign in to comment.