Remove InvertLocation

This commit is contained in:
Gav Wood
2022-03-12 12:29:21 +01:00
parent c3ee8a1547
commit ae1436ecd7
14 changed files with 38 additions and 31 deletions
@@ -67,7 +67,7 @@ where
assert!(parent_head.hash() == *block.header().parent_hash(), "Invalid parent hash",);
// Create the db
let (db, root) = match storage_proof.to_memory_db(Some(parent_head.state_root())) {
let (db, _root) = match storage_proof.to_memory_db(Some(parent_head.state_root())) {
Ok((db, root)) => (db, root),
Err(_) => panic!("Compact proof decoding failure."),
};