Skip to main content
3 events
when toggle format what by license comment
Jul 3, 2016 at 3:07 comment added joeb000 And tested it out again with an added function to return admin address...it works (sets the admin properly) before I add public to the mapping, then it doesn't work after I add it (returns "0x" ) when i call for the admin. Please try this and let me know if it does the same for you! (I've edited the original source code to add the checkAdmin() method)
Jul 3, 2016 at 2:41 comment added joeb000 My contract deploys just fine, the problem is running the registerMachine() method. I suspect that the admin address var isn't being set appropriately for some reason and its throwing on the call to onlyAdmin().
Jul 2, 2016 at 12:08 history answered Roland Kofler CC BY-SA 3.0