improve comment
This commit is contained in:
parent
95fb7089cc
commit
ff82bd69a2
|
@ -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,
|
||||||
),
|
),
|
||||||
|
|
Loading…
Reference in New Issue