Companion for #9106 (remove_all with size limit) (#3257)

* update apis

* fix api

* rename to `KillStorageResult`

* update Substrate

Co-authored-by: parity-processbot <>
This commit is contained in:
Shawn Tabrizi
2021-06-15 14:52:54 +01:00
committed by GitHub
parent 396b38b355
commit da71128daf
4 changed files with 166 additions and 166 deletions
+1 -1
View File
@@ -677,7 +677,7 @@ impl<T: Config> Pallet<T> {
who.using_encoded(|b| child::kill(&Self::id_from_index(index), b));
}
pub fn crowdloan_kill(index: TrieIndex) -> child::KillChildStorageResult {
pub fn crowdloan_kill(index: TrieIndex) -> child::KillStorageResult {
child::kill_storage(&Self::id_from_index(index), Some(T::RemoveKeysLimit::get()))
}