Skip to content
New issue

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

panic: abi: cannot use string as type array as argument #5

Closed
yumen594 opened this issue Jan 6, 2022 · 1 comment
Closed

panic: abi: cannot use string as type array as argument #5

yumen594 opened this issue Jan 6, 2022 · 1 comment

Comments

@yumen594
Copy link

yumen594 commented Jan 6, 2022

hello,I run the https://github.com/chenzhijie/go-web3/blob/master/examples/contract/erc20.go,
it got the "panic: abi: cannot use string as type array as argument" from allowance, err := contract.Call("allowance", web3.Eth.Address(), "0x0000000000000000000000000000000000000002")
thanks for your work.

@yumen594 yumen594 closed this as completed Jan 6, 2022
@yumen594 yumen594 reopened this Jan 6, 2022
@yumen594 yumen594 closed this as completed Jan 6, 2022
@yisar
Copy link

yisar commented Nov 23, 2022

I met the same question. Have you found the answer?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants