autonomoussoftware / metronome

Metronome autonomous system
MIT License
14 stars 10 forks source link

removed one require check from cancel subscription #50

Closed patidarmanoj10 closed 6 years ago

patidarmanoj10 commented 6 years ago

We do not need this check require(subs[msg.sender][_recipient].lastWithdrawTime != 0) because when subscription is done lastWithdrawTime is set startTime and require(subs[msg.sender][_recipient].startTime != 0); will be suffice

patidarmanoj10 commented 6 years ago

@rokso please review