hyperledger-web3j / web3j

Lightweight Java and Android library for integration with Ethereum clients
https://www.web3labs.com/web3j-sdk
Other
5.12k stars 1.69k forks source link

METHOD HttpService.performIO is wrong!!! #1330

Closed foolfox2404 closed 3 years ago

foolfox2404 commented 3 years ago

https://github.com/web3j/web3j/blob/01648d376e97da25e4cd1b4cd6a0c743bdd98a55/core/src/main/java/org/web3j/protocol/http/HttpService.java#L154

This line of code is wrong, should be a reference to the wrong version of Okhttp3, the method you are using does not exist. IDE compiler will prompt "Cannot resolve method 'create(Java.lang.string, okhttp3.mediatype)"

stale[bot] commented 3 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.