diff --git a/frame/staking/src/lib.rs b/frame/staking/src/lib.rs index 8f5b8561eb420..54457ce9fa2f3 100644 --- a/frame/staking/src/lib.rs +++ b/frame/staking/src/lib.rs @@ -1160,7 +1160,7 @@ decl_storage! { => Option>; /// Slashing spans for stash accounts. - SlashingSpans: map hasher(twox_64_concat) T::AccountId => Option; + SlashingSpans get(fn slashing_spans): map hasher(twox_64_concat) T::AccountId => Option; /// Records information about the maximum slash of a stash within a slashing span, /// as well as how much reward has been paid out.