From 2bea59fac91c5825e9a664467df7f0d3480e9b61 Mon Sep 17 00:00:00 2001 From: "Demi M. Obenour" Date: Thu, 18 Jun 2020 13:53:14 -0400 Subject: [PATCH] Fix return type of `BondedStore` --- src/frame/staking.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/frame/staking.rs b/src/frame/staking.rs index daaca52b47..bbdd145bcf 100644 --- a/src/frame/staking.rs +++ b/src/frame/staking.rs @@ -231,7 +231,7 @@ pub struct InvulnerablesStore { /// Map from all locked "stash" accounts to the controller account. #[derive(Encode, Copy, Clone, Debug, Hash, PartialEq, Eq, Ord, PartialOrd, Store)] pub struct BondedStore { - #[store(returns = Vec)] + #[store(returns = Option)] /// TŮ—he stash account pub stash: T::AccountId, }