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

Callbacks not working/erroring #184

Closed
joeykrug opened this issue Apr 26, 2015 · 2 comments
Closed

Callbacks not working/erroring #184

joeykrug opened this issue Apr 26, 2015 · 2 comments

Comments

@joeykrug
Copy link

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:

web3.eth.getBlock(48, function(error, result){
    if(!error)
        console.log(result)
    else
        console.error(error);
})


Error:
TypeError: 'sendAsync' is not a function
    at sendAsync (<anonymous>:-29864:-133)
    at getBlock (<anonymous>:-27642:-133)
    at <anonymous>:1:1
@debris
Copy link
Contributor

debris commented Apr 26, 2015

This looks like a go-ethereum issue. If it will be impossible/hard to fix in geth, we will prepare a fallback in web3.js.

@frozeman
Copy link
Contributor

frozeman commented May 6, 2015

Thats a problem of the geth console and should soon be fixed

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

3 participants