committed by
GitHub
parent
f3aa80d3f8
commit
474080608a
@@ -311,7 +311,9 @@ impl SendTransactionService {
|
||||
fn send_transaction(tpu_address: &SocketAddr, wire_transaction: &[u8]) {
|
||||
let mut measure = Measure::start("send_transaction_service-us");
|
||||
|
||||
if let Err(err) = connection_cache::send_wire_transaction(wire_transaction, tpu_address) {
|
||||
if let Err(err) =
|
||||
connection_cache::send_wire_transaction_async(wire_transaction.to_vec(), tpu_address)
|
||||
{
|
||||
warn!("Failed to send transaction to {}: {:?}", tpu_address, err);
|
||||
}
|
||||
measure.stop();
|
||||
|
Reference in New Issue
Block a user