diff --git a/core/handlers/validation/builtin/v13/validation_logic.go b/core/handlers/validation/builtin/v13/validation_logic.go index 3f1ffe2de8d..390e2552d39 100644 --- a/core/handlers/validation/builtin/v13/validation_logic.go +++ b/core/handlers/validation/builtin/v13/validation_logic.go @@ -171,7 +171,7 @@ func (vscc *Validator) Validate( va.endorsements, ) if txverr != nil { - logger.Errorf("VSCC error: stateBasedValidator.Validate failed, err %s", err) + logger.Errorf("VSCC error: stateBasedValidator.Validate failed, err %s", txverr) vscc.stateBasedValidator.PostValidate(namespace, block.Header.Number, uint64(txPosition), txverr) return txverr }