Fix return type of BondedStore

This commit is contained in:
Demi M. Obenour
2020-06-18 13:53:14 -04:00
parent 90e3b9bb4e
commit 2bea59fac9
+1 -1
View File
@@ -231,7 +231,7 @@ pub struct InvulnerablesStore<T: Staking> {
/// Map from all locked "stash" accounts to the controller account.
#[derive(Encode, Copy, Clone, Debug, Hash, PartialEq, Eq, Ord, PartialOrd, Store)]
pub struct BondedStore<T: Staking> {
#[store(returns = Vec<T::AccountId>)]
#[store(returns = Option<T::AccountId>)]
/// Tٗhe stash account
pub stash: T::AccountId,
}