File tree 1 file changed +9
-18
lines changed
1 file changed +9
-18
lines changed Original file line number Diff line number Diff line change @@ -1591,24 +1591,15 @@ impl<'a> ClarityBlockConnection<'a, '_> {
1591
1591
}
1592
1592
1593
1593
pub fn start_transaction_processing ( & mut self ) -> ClarityTransactionConnection {
1594
- let store = & mut self . datastore ;
1595
- let cost_track = & mut self . cost_track ;
1596
- let header_db = self . header_db ;
1597
- let burn_state_db = self . burn_state_db ;
1598
- let mainnet = self . mainnet ;
1599
- let chain_id = self . chain_id ;
1600
- let mut log = RollbackWrapperPersistedLog :: new ( ) ;
1601
- log. nest ( ) ;
1602
- ClarityTransactionConnection {
1603
- store,
1604
- cost_track,
1605
- header_db,
1606
- burn_state_db,
1607
- log : Some ( log) ,
1608
- mainnet,
1609
- chain_id,
1610
- epoch : self . epoch ,
1611
- }
1594
+ ClarityTransactionConnection :: new (
1595
+ & mut self . datastore ,
1596
+ self . header_db ,
1597
+ self . burn_state_db ,
1598
+ & mut self . cost_track ,
1599
+ self . mainnet ,
1600
+ self . chain_id ,
1601
+ self . epoch ,
1602
+ )
1612
1603
}
1613
1604
1614
1605
/// Execute `todo` as a transaction in this block. The execution
You can’t perform that action at this time.
0 commit comments