Actually respect locks of zero (#14144)

* Actually thaw when locking zero.

* Fixes

* Just remove the lock if semantically viable

---------

Co-authored-by: parity-processbot <>
This commit is contained in:
Gavin Woodandparity-processbot authored and GitHub committed 2023-05-23 08:47:08 +00:00
1 parent 41dbed0b90
commit 06865d4c08
2 files changed
+8 -7

No files matched your search

@@ -429,9 +429,9 @@ benchmarks! {
+ 1 // offence
+ 3 // reporter (reward + endowment)
+ 1 // offenders reported
+ 2 // offenders slashed
+ 3 // offenders slashed
+ 1 // offenders chilled
+ 2 * n // nominators slashed
+ 3 * n // nominators slashed
);
}
@@ -466,9 +466,9 @@ benchmarks! {
+ 1 // offence
+ 3 // reporter (reward + endowment)
+ 1 // offenders reported
+ 2 // offenders slashed
+ 3 // offenders slashed
+ 1 // offenders chilled
+ 2 * n // nominators slashed
+ 3 * n // nominators slashed
);
}