Use correct bcoin Block export
This commit is contained in:
parent
4804e44446
commit
474685d7c1
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user