mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-15 19:41:05 +00:00
fix (#10342)
This commit is contained in:
committed by
GitHub
parent
a75a8820fb
commit
7ed4a7f022
@@ -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