Can someone help me in finding what is wrong here a why the length of task info is 0 even the taskInfo has some data. I'm using events to fill the taskinfo array. I'm stuck at this place for almost 2 days and cant seem to find what is wrong here any kind of help is appreciated[![

enter image description here

  • What's the problem? Is it that the logged value of taskInfo is different from the expected length? It doesn't seem related to Ethereum more like a javascript/browser issue. – Ismael Jun 24 '20 at 16:19

This issue is not related to ethereum or web3 as suggested in the comments. You can look into this for your answer: https://stackoverflow.com/questions/32460602/array-shows-0-as-length-when-it-has-elements-in-it

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.