Skip to content
This repository was archived by the owner on Nov 15, 2023. It is now read-only.
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fix staking test
  • Loading branch information
shawntabrizi committed Feb 11, 2020
commit 2b3917c467fcabd7efbce8894a394bacf220a4dd
3 changes: 2 additions & 1 deletion frame/staking/src/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2066,7 +2066,8 @@ fn slash_in_old_span_does_not_deselect() {
),
reporters: vec![],
}],
&[Perbill::from_percent(100)],
// NOTE: A 100% slash here would clean up the account, causing de-registration.
&[Perbill::from_percent(95)],
1,
);

Expand Down