We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi,
I found when calling contract from cli with empty array input would cause this error:
ERROR: Error calling constant function: invalid hex address:
I think the root cause should be that strings.Split on empty string results in a slice with one empty string ([""]) instead of 0-length ([]).
strings.Split
web3/web3.go
Lines 462 to 469 in c84726a
I can submit a PR if needed.
Thanks.
The text was updated successfully, but these errors were encountered:
PR welcome.
Sorry, something went wrong.
Sent PR at #295
No branches or pull requests
Hi,
I found when calling contract from cli with empty array input would cause this error:
I think the root cause should be that
strings.Split
on empty string results in a slice with one empty string ([""]) instead of 0-length ([]).web3/web3.go
Lines 462 to 469 in c84726a
I can submit a PR if needed.
Thanks.
The text was updated successfully, but these errors were encountered: