File tree Expand file tree Collapse file tree 1 file changed +0
-12
lines changed
stackslib/src/chainstate/stacks/index Expand file tree Collapse file tree 1 file changed +0
-12
lines changed Original file line number Diff line number Diff line change @@ -400,9 +400,6 @@ pub struct TrieRAM<T: MarfTrieId> {
400400 is_moved : bool ,
401401
402402 parent : T ,
403-
404- /// whether or not to compress the trie on dump
405- compress : bool ,
406403}
407404
408405pub enum DumpPtr {
@@ -469,16 +466,9 @@ impl<T: MarfTrieId> TrieRAM<T> {
469466 is_moved : false ,
470467
471468 parent : parent. clone ( ) ,
472- compress : false ,
473469 }
474470 }
475471
476- /// Iterative constructor to set compression
477- pub fn with_compression ( mut self , compression : bool ) -> Self {
478- self . compress = compression;
479- self
480- }
481-
482472 /// Inner method to instantiate a TrieRAM from existing Trie data.
483473 fn from_data ( block_header : T , data : Vec < ( TrieNodeType , TrieHash ) > , parent : T ) -> TrieRAM < T > {
484474 TrieRAM {
@@ -500,7 +490,6 @@ impl<T: MarfTrieId> TrieRAM<T> {
500490 is_moved : false ,
501491
502492 parent,
503- compress : false ,
504493 }
505494 }
506495
@@ -533,7 +522,6 @@ impl<T: MarfTrieId> TrieRAM<T> {
533522 is_moved : true ,
534523
535524 parent : self . parent . clone ( ) ,
536- compress : self . compress ,
537525 }
538526 }
539527
You can’t perform that action at this time.
0 commit comments