Use correct bcoin Block export

This commit is contained in:
Sky Young 2019-07-23 12:07:15 -06:00
parent 4804e44446
commit 474685d7c1

View File

@ -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