Merge pull request #112 from meshplus/fix/executor-1.0
fix(executor): add normalTxs initialization
This commit is contained in:
commit
e8486dee35
|
@ -55,6 +55,7 @@ func (exec *BlockExecutor) processExecuteEvent(block *pb.Block) {
|
|||
"count": len(block.Transactions),
|
||||
}).Infof("Execute block")
|
||||
|
||||
exec.normalTxs = make([]types.Hash, 0)
|
||||
validTxs, invalidReceipts := exec.verifySign(block)
|
||||
receipts := exec.applyTransactions(validTxs)
|
||||
receipts = append(receipts, invalidReceipts...)
|
||||
|
|
Loading…
Reference in New Issue