Whether there are any pending withdrawals.
(&self)
| 297 | fn pop_kind(&mut self, epoch: u64, kind: WithdrawalKind) -> Option<PendingWithdrawal> { |
| 298 | let pubkey = { |
| 299 | let schedule = self.schedule_mut(kind); |
| 300 | let queue = schedule.get_mut(&epoch)?; |
| 301 | let pubkey = queue.pop_front()?; |
| 302 | if queue.is_empty() { |
| 303 | schedule.remove(&epoch); |
| 304 | } |
no outgoing calls