Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
Actually I believe the testrpc issue is the case. The code works fine, but should not be throwing that error. It only happens after I make a back explicit cast and try to run it after making a correction