Skip to content

Commit

Permalink
remove invalid limit for clear
Browse files Browse the repository at this point in the history
  • Loading branch information
muharem committed Aug 12, 2022
1 parent a405dfc commit b654d68
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions frame/alliance/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -664,9 +664,7 @@ pub mod pallet {
Error::<T, I>::AllianceNotReset
);
ensure!(
UpForKicking::<T, I>::clear(T::MaxMembersCount::get(), None)
.maybe_cursor
.is_none(),
UpForKicking::<T, I>::clear(None, None).maybe_cursor.is_none(),
Error::<T, I>::AllianceNotReset
);
}
Expand Down

0 comments on commit b654d68

Please sign in to comment.