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

This commit is contained in:
André Silva
2023-03-02 12:38:12 +00:00
committed by GitHub
parent 44abe690a3
commit 2c37de32bf
2 changed files with 8 additions and 1 deletions
+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]