diff --git a/core/sbundle_sim.go b/core/sbundle_sim.go index a90fddc8b..b56b63297 100644 --- a/core/sbundle_sim.go +++ b/core/sbundle_sim.go @@ -87,7 +87,9 @@ func SimBundle(config *params.ChainConfig, bc *BlockChain, author *common.Addres return res, err } res.Revert = result.Revert() - res.ExecError = result.Err.Error() + if result.Err != nil { + res.ExecError = result.Err.Error() + } if receipt.Status != types.ReceiptStatusSuccessful && !el.CanRevert { return res, ErrTxFailed }