You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
web3.eth.getBlock(48,function(error,result){if(!error)console.log(result)elseconsole.error(error);})Error:
TypeError: 'sendAsync'isnotafunctionatsendAsync(<anonymous>:-29864:-133)
at getBlock (<anonymous>:-27642:-133)
at <anonymous>:1:1
The text was updated successfully, but these errors were encountered:
Just pulled this from the wiki: https://github.com/ethereum/wiki/wiki/JavaScript-API
Occurs on latest geth which has latest web3.js pulled in
Test case:
The text was updated successfully, but these errors were encountered: