diff --git a/lib/blocks.js b/lib/blocks.js index d2ee84d..be04d1d 100644 --- a/lib/blocks.js +++ b/lib/blocks.js @@ -238,7 +238,7 @@ BlockController.prototype._getBlockSummary = function(hash, moreTimestamp, next) return next(); } - var block = bcoin.block.fromRaw(blockBuffer, 'hex'); + var block = bcoin.Block.fromRaw(blockBuffer, 'hex'); // if we don't we a block header back, this is highly unusual, // but possible if there was a very recent reorg and the header