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

doc: String responseValue #6

Closed
MaxBinnewies opened this issue Oct 28, 2016 · 2 comments
Closed

doc: String responseValue #6

MaxBinnewies opened this issue Oct 28, 2016 · 2 comments

Comments

@MaxBinnewies
Copy link

MaxBinnewies commented Oct 28, 2016

Hello,

in the doc, chapter 3.2.13 "Querying the state of a smart contract" you are calling the method FunctionReturnDecoder.decode(...) with the String variable "responseValue". However, that variable was never declared nor assigned in the code snippet. Where is that value coming from?

Thanks,
Max

@conor10
Copy link
Contributor

conor10 commented Oct 28, 2016

It should read:

List<Type> someTypes = FunctionReturnDecoder.decode(
                response.getValue(), function.getOutputParameters());

I've committed a fix. This updated will be reflected on the docs, as soon as RTD have resolved by build issues as per readthedocs/readthedocs.org#2476.

@MaxBinnewies
Copy link
Author

Thanks

denis554 added a commit to denis554/web3j that referenced this issue Mar 27, 2019
RobertoArtiles added a commit to RobertoArtiles/web3j that referenced this issue May 23, 2022
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