make crank async
This commit is contained in:
parent
e653eb96a9
commit
49829d39c5
|
@ -106,8 +106,11 @@ pub fn start(
|
|||
keeper_instruction: Some(KeeperInstruction::ConsumeEvents),
|
||||
};
|
||||
|
||||
let ok = tpu_manager.send_transaction(&tx, tx_send_record).await;
|
||||
trace!("send tx={:?} ok={ok}", tx.signatures[0]);
|
||||
let tpu_manager = tpu_manager.clone();
|
||||
tokio::spawn(async move {
|
||||
let ok = tpu_manager.send_transaction(&tx, tx_send_record).await;
|
||||
trace!("send tx={:?} ok={ok}", tx.signatures[0]);
|
||||
});
|
||||
}
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue