(blockNum uint32)
| 327 | } |
| 328 | |
| 329 | func (self *EventTimer) onBlockSealed(blockNum uint32) { |
| 330 | self.lock.Lock() |
| 331 | defer self.lock.Unlock() |
| 332 | |
| 333 | // clear event timers |
| 334 | for i := 0; i < int(EventMax); i++ { |
| 335 | self.cancelEventTimer(TimerEventType(i), blockNum) |
| 336 | } |
| 337 | } |
| 338 | |
| 339 | func (self *EventTimer) StartTxBlockTimeout(blockNum uint32) error { |
| 340 | self.lock.Lock() |
nothing calls this directly
no test coverage detected