diff --git a/core/block_validator.go b/core/block_validator.go index 9baf709a3..afb1ab3be 100644 --- a/core/block_validator.go +++ b/core/block_validator.go @@ -100,7 +100,7 @@ func (v *BlockValidator) ValidateState(block, parent *types.Block, statedb *stat return fmt.Errorf("invalid receipt root hash (remote: %x local: %x)", header.ReceiptHash(), receiptSha) } - if v.config.AcceptsCrossTx(block.Epoch()) { + if v.config.HasCrossTxFields(block.Epoch()) { cxsSha := types.DeriveMultipleShardsSha(cxReceipts) if cxsSha != header.OutgoingReceiptHash() { return fmt.Errorf("invalid cross shard receipt root hash (remote: %x local: %x)", header.OutgoingReceiptHash(), cxsSha)