Skip to content

Commit

Permalink
trivial: remove a magic number
Browse files Browse the repository at this point in the history
  • Loading branch information
msmouse authored and aptos-bot committed May 10, 2022
1 parent 449fba2 commit e253610
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion storage/scratchpad/src/sparse_merkle/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -474,7 +474,7 @@ where
Self::new_node_hashes_since_impl(
self.smt.root_weak(),
since_smt.smt.generation() + 1,
&mut NodePosition::with_capacity(256),
&mut NodePosition::with_capacity(HashValue::LENGTH_IN_BITS),
&mut node_hashes,
);
node_hashes
Expand Down

0 comments on commit e253610

Please sign in to comment.