internal/ethapi: downcase error for no data on contract creation

This commit is contained in:
Felix Lange 2018-02-21 15:01:23 +01:00 committed by GitHub
parent 3b20705d15
commit 366b25ac13
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1144,7 +1144,7 @@ func (args *SendTxArgs) setDefaults(ctx context.Context, b Backend) error {
input = *args.Input
}
if len(input) == 0 {
return errors.New(`Contract creation without any data provided`)
return errors.New(`contract creation without any data provided`)
}
}
return nil