feat(trie): convert vec to Bytes in Nibbles (#3120)

This commit is contained in:
Thomas Coratger
2023-06-13 13:49:05 +02:00
committed by GitHub
parent e43455c2c3
commit 0561675bb9
9 changed files with 46 additions and 30 deletions

View File

@ -214,7 +214,7 @@ impl<DB: Database> Stage<DB> for MerkleStage {
let checkpoint = MerkleCheckpoint::new(
to_block,
state.last_account_key,
state.last_walker_key.hex_data,
state.last_walker_key.hex_data.to_vec(),
state.walker_stack.into_iter().map(StoredSubNode::from).collect(),
state.hash_builder.into(),
);