diff --git a/consensus/posv/posv.go b/consensus/posv/posv.go index 153c026b26..201c3a27a6 100644 --- a/consensus/posv/posv.go +++ b/consensus/posv/posv.go @@ -1038,6 +1038,7 @@ func (c *Posv) CacheData(header *types.Header, txs []*types.Transaction, receipt } if b == types.ReceiptStatusFailed { + log.Debug("Sign tx failed", "hash", tx.Hash().String()) continue } diff --git a/contracts/utils.go b/contracts/utils.go index 15be3165d2..ca633dd4d3 100644 --- a/contracts/utils.go +++ b/contracts/utils.go @@ -345,7 +345,8 @@ func GetRewardForCheckpoint(c *posv.Posv, chain consensus.ChainReader, number ui } } - if b == types.ReceiptStatusFailed { + if b == types.ReceiptStatusFailed && i >= rCheckpoint { + log.Debug("Sign tx failed", "hash", tx.Hash().String()) continue }