File tree Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -282,23 +282,21 @@ mod tests {
282282 // Assert there are no errors when bumping the fee
283283 assert ! ( bump_fee. errors. is_empty( ) ) ;
284284
285- // Step 4: Generate 100 blocks to confirm the transaction and bump fee transaction
285+ // Step 4: Generate 100 blocks to confirm the bump fee transaction
286286 bitcoin_client. rpc . generate_to_address ( 100 , & to_addr) . unwrap ( ) ;
287287
288- // Check the original transaction's status
288+ // Check the original transaction
289289 let tx_info = bitcoin_client. rpc . get_transaction ( & txid, None ) . unwrap ( ) ;
290290
291291 // Assert that the original transaction has negative confirmations
292292 assert ! ( tx_info. info. confirmations. is_negative( ) ) ;
293293
294- // Check the bumped fee transaction's status (should now be confirmed)
294+ // Get the bumped fee transaction's
295295 let tx_info = bitcoin_client. rpc . get_transaction ( & bump_fee. txid . unwrap ( ) , None ) . unwrap ( ) ;
296296
297- // Assert that the bumped fee transaction has confirmations (i.e., it has been confirmed in
298- // the blockchain)
297+ // Assert that the bumped fee transaction has confirmations
299298 assert ! ( tx_info. info. confirmations. is_positive( ) ) ;
300299
301- // Test successfully passes if all assertions hold true
302300 Ok ( ( ) )
303301 }
304302}
You can’t perform that action at this time.
0 commit comments