From 5b4a669e5f92bb7fadd015b9c7a1c07e1a0d4fbf Mon Sep 17 00:00:00 2001 From: Haoran Yi Date: Wed, 28 Sep 2022 09:46:25 -0500 Subject: [PATCH] fix typo --- runtime/src/stake_account.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runtime/src/stake_account.rs b/runtime/src/stake_account.rs index 8421e37832..d55b1ab362 100644 --- a/runtime/src/stake_account.rs +++ b/runtime/src/stake_account.rs @@ -53,7 +53,7 @@ impl StakeAccount { impl StakeAccount { #[inline] pub(crate) fn delegation(&self) -> Delegation { - // Safe to unwrap here becasue StakeAccount will always + // Safe to unwrap here because StakeAccount will always // only wrap a stake-state which is a delegation. self.stake_state.delegation().unwrap() }