File tree Expand file tree Collapse file tree 1 file changed +1
-7
lines changed
stackslib/src/chainstate/nakamoto/tests Expand file tree Collapse file tree 1 file changed +1
-7
lines changed Original file line number Diff line number Diff line change @@ -1127,19 +1127,13 @@ impl TestStacksNode {
11271127 let mut sort_handle = sortdb. index_handle ( & sort_tip) ;
11281128
11291129 // Force the block to be added to the nakamoto_staging_blocks table
1130- let config = stacks_node. chainstate . config ( ) ;
1131- let ( headers_conn, staging_db_tx) =
1132- stacks_node. chainstate . headers_conn_and_staging_tx_begin ( ) ?;
11331130 let accepted = NakamotoChainState :: accept_block (
1134- & config ,
1131+ & mut stacks_node . chainstate ,
11351132 & nakamoto_block,
11361133 & mut sort_handle,
1137- & staging_db_tx,
1138- headers_conn,
11391134 & reward_set,
11401135 NakamotoBlockObtainMethod :: Pushed ,
11411136 ) ?;
1142- staging_db_tx. commit ( ) ?;
11431137 debug ! ( "Accepted Nakamoto block {}" , & nakamoto_block. block_id( ) ) ;
11441138 // Actually attempt to process the accepted block added to nakamoto_staging_blocks
11451139 // Will attempt to execute the transactions via a call to append_block
You can’t perform that action at this time.
0 commit comments