mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-18 09:53:48 +00:00
internal/ethapi: downcase error for no data on contract creation
This commit is contained in:
parent
3b20705d15
commit
366b25ac13
1 changed files with 1 additions and 1 deletions
|
|
@ -1144,7 +1144,7 @@ func (args *SendTxArgs) setDefaults(ctx context.Context, b Backend) error {
|
||||||
input = *args.Input
|
input = *args.Input
|
||||||
}
|
}
|
||||||
if len(input) == 0 {
|
if len(input) == 0 {
|
||||||
return errors.New(`Contract creation without any data provided`)
|
return errors.New(`contract creation without any data provided`)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return nil
|
return nil
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue