@@ -126,7 +126,6 @@ pub struct Builder {
126126 max_block_size_with_smart_contracts : usize ,
127127 max_no_signature_data_size : usize ,
128128 max_depth_for_reorg : BlockDistance ,
129- pow_chain_config_builder : PoWChainConfigBuilder ,
130129 epoch_length : NonZeroU64 ,
131130 sealed_epoch_distance_from_tip : usize ,
132131 initial_randomness : H256 ,
@@ -164,7 +163,6 @@ impl Builder {
164163 max_no_signature_data_size : super :: MAX_TX_NO_SIG_WITNESS_SIZE ,
165164 max_future_block_time_offset : super :: DEFAULT_MAX_FUTURE_BLOCK_TIME_OFFSET ,
166165 max_depth_for_reorg : super :: DEFAULT_MAX_DEPTH_FOR_REORG ,
167- pow_chain_config_builder : PoWChainConfigBuilder :: new ( chain_type) ,
168166 epoch_length : super :: DEFAULT_EPOCH_LENGTH ,
169167 sealed_epoch_distance_from_tip : super :: DEFAULT_SEALED_EPOCH_DISTANCE_FROM_TIP ,
170168 initial_randomness : get_initial_randomness ( chain_type) ,
@@ -209,7 +207,6 @@ impl Builder {
209207 max_future_block_time_offset,
210208 max_no_signature_data_size,
211209 max_depth_for_reorg,
212- pow_chain_config_builder,
213210 epoch_length,
214211 sealed_epoch_distance_from_tip,
215212 initial_randomness,
@@ -271,7 +268,7 @@ impl Builder {
271268 } ,
272269 } ;
273270
274- pow_chain_config_builder . limit ( limit) . build ( )
271+ PoWChainConfigBuilder :: new ( chain_type ) . limit ( limit) . build ( )
275272 } ;
276273
277274 ChainConfig {
0 commit comments