improve comment

This commit is contained in:
GroovieGermanikus 2024-06-27 11:58:38 +02:00
parent 95fb7089cc
commit ff82bd69a2
No known key found for this signature in database
GPG Key ID: 5B6EB831A5CD2015
1 changed files with 2 additions and 2 deletions

View File

@ -162,7 +162,7 @@ pub async fn send_and_confirm_bulk_transactions(
// note that we will see tx_sigs we did not send // note that we will see tx_sigs we did not send
let (tx_sig, confirmed_slot) = multi.pair(); let (tx_sig, confirmed_slot) = multi.pair();
// status is confirmed or finalized // status is confirmed
if pending_status_set.remove(&tx_sig) { if pending_status_set.remove(&tx_sig) {
trace!("take status for sig {:?} and confirmed_slot: {:?} from websocket source", tx_sig, confirmed_slot); trace!("take status for sig {:?} and confirmed_slot: {:?} from websocket source", tx_sig, confirmed_slot);
let prev_value = result_status_map.insert( let prev_value = result_status_map.insert(
@ -170,7 +170,7 @@ pub async fn send_and_confirm_bulk_transactions(
ConfirmationResponseFromRpc::Success( ConfirmationResponseFromRpc::Success(
send_slot, send_slot,
*confirmed_slot, *confirmed_slot,
// note: this is not optimal // note: this is not optimal as we do not cover finalized here
TransactionConfirmationStatus::Confirmed, TransactionConfirmationStatus::Confirmed,
elapsed, elapsed,
), ),