diff options
Diffstat (limited to 'core/blockchain.go')
-rw-r--r-- | core/blockchain.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/core/blockchain.go b/core/blockchain.go index bc9f2180f..679ba1ca3 100644 --- a/core/blockchain.go +++ b/core/blockchain.go @@ -1728,6 +1728,10 @@ func (bc *BlockChain) insertDexonChain(chain types.Blocks) (int, []interface{}, return 0, events, coalescedLogs, nil } +func (bc *BlockChain) VerifyDexonHeader(header *types.Header) error { + return bc.hc.verifyTSig(header, bc.verifierCache) +} + func (bc *BlockChain) ProcessPendingBlock(block *types.Block, witness *coreTypes.Witness) (*common.Hash, error) { n, events, logs, err := bc.processPendingBlock(block, witness) bc.PostChainEvents(events, logs) |