Skip to content

Commit

Permalink
improve comment
Browse files Browse the repository at this point in the history
  • Loading branch information
grooviegermanikus committed Jun 27, 2024
1 parent 95fb708 commit ff82bd6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bench/src/benches/rpc_interface.rs
Original file line number Diff line number Diff line change
Expand Up @@ -162,15 +162,15 @@ pub async fn send_and_confirm_bulk_transactions(
// note that we will see tx_sigs we did not send
let (tx_sig, confirmed_slot) = multi.pair();

// status is confirmed or finalized
// status is confirmed
if pending_status_set.remove(&tx_sig) {
trace!("take status for sig {:?} and confirmed_slot: {:?} from websocket source", tx_sig, confirmed_slot);
let prev_value = result_status_map.insert(
tx_sig.clone(),
ConfirmationResponseFromRpc::Success(
send_slot,
*confirmed_slot,
// note: this is not optimal
// note: this is not optimal as we do not cover finalized here
TransactionConfirmationStatus::Confirmed,
elapsed,
),
Expand Down

0 comments on commit ff82bd6

Please sign in to comment.