Skip to content

Commit 667d059

Browse files
committed
fix manual slash test
1 parent 755aacb commit 667d059

File tree

1 file changed

+1
-1
lines changed
  • substrate/frame/staking/src/pallet

1 file changed

+1
-1
lines changed

substrate/frame/staking/src/pallet/impls.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1296,7 +1296,7 @@ impl<T: Config> Pallet<T> {
12961296

12971297
for (details, slash_fraction) in offenders.zip(slash_fractions) {
12981298
let stash = &details.offender;
1299-
let exposure = Self::eras_stakers(active_era, stash);
1299+
let exposure = Self::eras_stakers(slash_era, stash);
13001300

13011301
// Skip if the validator is invulnerable.
13021302
if invulnerables.contains(stash) {

0 commit comments

Comments
 (0)