mirror of
https://github.com/sigp/lighthouse.git
synced 2026-03-18 12:22:51 +00:00
Update verify_transfer to spec v0.6.1
This commit is contained in:
@@ -49,7 +49,7 @@ impl Validator {
|
||||
|
||||
/// Returns `true` if the validator is able to withdraw at some epoch.
|
||||
pub fn is_withdrawable_at(&self, epoch: Epoch) -> bool {
|
||||
self.withdrawable_epoch <= epoch
|
||||
epoch >= self.withdrawable_epoch
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user