We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 93ae8f5 commit 0dda417Copy full SHA for 0dda417
packages/blockchain/src/index.ts
@@ -823,7 +823,11 @@ export default class Blockchain implements BlockchainInterface {
823
824
if (this._validateBlocks && !isGenesis) {
825
// this calls into `getBlock`, which is why we cannot lock yet
826
- await block.validate(this)
+ if (item instanceof BlockHeader) {
827
+ await block.header.validate(this)
828
+ } else {
829
+ await block.validate(this)
830
+ }
831
}
832
833
if (this._validateConsensus) {
0 commit comments