web3.eth.watch('pending').changed not being called?

ThePiachuThePiachu Member Posts: 16
edited June 2015 in Education
I'm currently trying to follow the tutorial for writing javascript for AlethZero client. I'm trying to display live data in the JavaScript API window. I drag and drop my test.html into it, the function

web3.eth.watch('pending').changed(function(){

gets called and data is populated. I mine a few blocks, and nothing changes. My code looks like:


What am I doing wrong?
Post edited by StephanTual on

Comments

Sign In or Register to comment.