From 366b25ac13a702501e4ff716f817fa96ff7129f2 Mon Sep 17 00:00:00 2001 From: Felix Lange Date: Wed, 21 Feb 2018 15:01:23 +0100 Subject: [PATCH] internal/ethapi: downcase error for no data on contract creation --- internal/ethapi/api.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/ethapi/api.go b/internal/ethapi/api.go index 501bb36062..636d0bfe26 100644 --- a/internal/ethapi/api.go +++ b/internal/ethapi/api.go @@ -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