-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Something wrong with getBlock #973
Comments
and web3.eth.getBalance(address) every address's ballance are 0 |
is your node synced? what does |
AttributeDict({'currentBlock': 6050271, 'highestBlock': 6050347, 'knownStates': 0, 'pulledStates': 0, 'startingBlock': 6050271}) |
run the scrpt again 20min later, I got the same result |
geth --rpc That is the commend to start rpc server |
@lipangit your node is syncing. |
Do you mean I just wait untill w3.eth.syncing = false ? |
but why eth.getBanlance() every address is = 0 |
What can I do next |
Balance is something that is queried from the state trie. Till your state trie gets synced your balance will be shown as zero! read this. |
@voith I will collect that issue and learn It carefully |
Thank you |
Closing because it's not a bug, but feel free to continue to comment for support. |
When I connect my local geth --rpc
and I get the result
But I use web3.js to connect the same rpc in my local server
I get the result
I thing web3.py is wrong What can I do ?
The text was updated successfully, but these errors were encountered: