im-online: don't disable offending validators (#13493)

This commit is contained in:
André Silva authored and GitHub committed 2023-03-02 12:38:12 +00:00
1 parent 44abe690a3
commit 2c37de32bf
2 files changed
+8 -1

No files matched your search

+3
View File
@@ -56,6 +56,9 @@ fn test_unresponsiveness_slash_fraction() {
dummy_offence.slash_fraction(17),
Perbill::from_parts(46200000), // 4.62%
);
// Offline offences should never lead to being disabled.
assert_eq!(dummy_offence.disable_strategy(), DisableStrategy::Never);
}
#[test]