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
web3 instance error: Variable used within its own initial value
My code:
func getETHBalance() { let endpoint = "https://some.endpoint" let web3 = web3(provider: Web3HttpProvider(URL(string: endpoint)!)!) }
From web3 instance: https://github.com/skywinder/web3swift/blob/master/Documentation/Usage.md#web3-instance
The text was updated successfully, but these errors were encountered:
This looks like a naming issue. Try replacing the following: let web3 with let client.
let web3
let client
Sorry, something went wrong.
OK, Thanks♪(・ω・)ノ
No branches or pull requests
web3 instance error: Variable used within its own initial value
My code:
From web3 instance: https://github.com/skywinder/web3swift/blob/master/Documentation/Usage.md#web3-instance
The text was updated successfully, but these errors were encountered: