Commit Graph

1 Commits

Author SHA1 Message Date
georgepisaltu 7839400f12 [Collator Selection] Fix weight refund for set_candidacy_bond (#3643)
Fixes #3642 

This PR implements the weight refund of
`pallet_collator_selection::set_candidacy_bond` to account for no
iterations when the bond is decreased.

---------

Signed-off-by: georgepisaltu <george.pisaltu@parity.io>
Co-authored-by: Bastian Köcher <git@kchr.de>
2024-03-11 22:12:58 +00:00