mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-12-03 07:47:05 +00:00
fix (#10342)
This commit is contained in:
1 parent
a75a8820fb
commit
7ed4a7f022
1 file changed
+1
-1
@@ -182,7 +182,7 @@ where
|
|||||||
let outcome =
|
let outcome =
|
||||||
child::kill_storage(&child_trie_info(&trie.trie_id), Some(remaining_key_budget));
|
child::kill_storage(&child_trie_info(&trie.trie_id), Some(remaining_key_budget));
|
||||||
let keys_removed = match outcome {
|
let keys_removed = match outcome {
|
||||||
// This should not happen as our budget was large enough to remove all keys.
|
// This happens when our budget wasn't large enough to remove all keys.
|
||||||
KillStorageResult::SomeRemaining(count) => count,
|
KillStorageResult::SomeRemaining(count) => count,
|
||||||
KillStorageResult::AllRemoved(count) => {
|
KillStorageResult::AllRemoved(count) => {
|
||||||
// We do not care to preserve order. The contract is deleted already and
|
// We do not care to preserve order. The contract is deleted already and
|
||||||
|
|||||||
Reference in new issue
Block a user