diff --git a/pallets/system/src/submitted_data.rs b/pallets/system/src/submitted_data.rs index bf41a00f9..8fdbe26cf 100644 --- a/pallets/system/src/submitted_data.rs +++ b/pallets/system/src/submitted_data.rs @@ -362,7 +362,7 @@ where .into_iter() .filter(|v| !v.is_empty()) .map(|leaf| { - if call_type == SubTrie::Right { + if call_type == SubTrie::Left { leaf } else { keccak_256(leaf.as_slice()).to_vec()