mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-11-10 20:57:06 +00:00
Fix contract child usage (#2299)
* Fix contract child usage * bump implementation version
This commit is contained in:
1 parent
6b3cb78a48
commit
450c03d03e
2 files changed
+2
-2
No files matched your search
@@ -105,7 +105,7 @@ impl<T: Trait> AccountDb<T> for DirectAccountDb {
|
||||
|
||||
let mut new_storage_size = info.storage_size;
|
||||
for (k, v) in changed.storage.into_iter() {
|
||||
if let Some(value) = child::get::<Vec<u8>>(&info.trie_id[..], &k) {
|
||||
if let Some(value) = child::get_raw(&info.trie_id[..], &k) {
|
||||
new_storage_size -= value.len() as u64;
|
||||
}
|
||||
if let Some(value) = v {
|
||||
|
||||
Reference in new issue
Block a user