filter.stopWatching() doesn't actually stop watching

chocolatepumpkinchocolatepumpkin Member Posts: 10
This appears to watch forever.

What am I doing wrong here?

// wait for the transaction to finish... right? web3.eth.filter('latest', function(error, result) { var res = myContract.getData.call(); console.log('(C) the transactionally incremented data was: ' + res.toString(10)); }).stopWatching();

Comments

Sign In or Register to comment.