Skip to content

Commit

Permalink
Merge pull request #26 from ElrondNetwork/error-message-fix
Browse files Browse the repository at this point in the history
Adjust error message
  • Loading branch information
camilbancioiu authored Nov 12, 2019
2 parents 31ac890 + c9bd168 commit 5529715
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/gasSchedule.go
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ func checkForZeroUint64Fields(arg interface{}) error {
}
if field.Uint() == 0 {
name := v.Type().Field(i).Name
return errors.New(fmt.Sprintf("field %s has the value 0", name))
return errors.New(fmt.Sprintf("Gas cost for operation %s has been set to 0 or is not set.", name))
}
}

Expand Down

0 comments on commit 5529715

Please sign in to comment.