Skip to content

Commit be48698

Browse files
committed
chore: remove comment
1 parent 1449c79 commit be48698

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

crates/utils/src/bitcoin_core.rs

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff 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
}

0 commit comments

Comments
 (0)