Skip to main content
2 events
when toggle format what by license comment
Apr 1, 2018 at 11:54 comment added ShankaraNarayanan Hi, Thanks for your answer. As you said, it was more a logical issue. I incremented the subscriberCount after adding to mapping, looks like this: function addSubscriber(string name, address subAddress) { subscribers[subscriberCount].subscriberName = name ; subscribers[subscriberCount].subscriberAddress = subAddress ; subscriberCount++; }
Mar 31, 2018 at 18:23 history answered Ismael CC BY-SA 3.0