fix typo
This commit is contained in:
parent
4d02292931
commit
5b4a669e5f
|
@ -53,7 +53,7 @@ impl<T> StakeAccount<T> {
|
|||
impl StakeAccount<Delegation> {
|
||||
#[inline]
|
||||
pub(crate) fn delegation(&self) -> Delegation {
|
||||
// Safe to unwrap here becasue StakeAccount<Delegation> will always
|
||||
// Safe to unwrap here because StakeAccount<Delegation> will always
|
||||
// only wrap a stake-state which is a delegation.
|
||||
self.stake_state.delegation().unwrap()
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue