File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
stackslib/src/chainstate/stacks/index Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -429,7 +429,7 @@ where
429
429
row_hashes. reserve ( nodes[ i] . len ( ) / 2 ) ;
430
430
431
431
for j in 0 ..( nodes[ i] . len ( ) / 2 ) {
432
- let h = MerkleTree :: get_node_hash ( & nodes[ i] [ ( 2 * j) ] , & nodes[ i] [ 2 * j + 1 ] ) ;
432
+ let h = MerkleTree :: get_node_hash ( & nodes[ i] [ 2 * j] , & nodes[ i] [ 2 * j + 1 ] ) ;
433
433
row_hashes. push ( h) ;
434
434
}
435
435
Original file line number Diff line number Diff line change @@ -875,7 +875,7 @@ impl<T: MarfTrieId> TrieRAM<T> {
875
875
for j in 0 ..node_data. len ( ) {
876
876
let next_node = & mut self . data [ node_data[ j] as usize ] . 0 ;
877
877
if !next_node. is_leaf ( ) {
878
- let mut ptrs = next_node. ptrs_mut ( ) ;
878
+ let ptrs = next_node. ptrs_mut ( ) ;
879
879
let num_children = ptrs. len ( ) ;
880
880
for k in 0 ..num_children {
881
881
if ptrs[ k] . id != TrieNodeID :: Empty as u8 && !is_backptr ( ptrs[ k] . id ) {
You can’t perform that action at this time.
0 commit comments